Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 33 lines (24 sloc) 1.181 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
FastCgiExternalServer /home/ctftest2/koha-plack.psgi -host 127.0.0.1:5000

<VirtualHost *:80>
   ServerName ctftest2-plack.sandbox.kohalibrary.com
   ErrorLog /var/log/apache2/ctftest2-opac-error.log
   TransferLog /var/log/apache2/ctftest2-opac-access.log
   DocumentRoot /home/ctftest2/kohaclone/koha-tmpl

   RewriteEngine On
   RewriteCond %{REQUEST_URI} !^/cgi-bin/koha/opac/
   RewriteRule ^/cgi-bin/koha/(.*) /cgi-bin/koha/opac/$1 [P]

   RewriteRule ^/$ /cgi-bin/koha/opac/opac-main.pl [P]

   #ProxyPass /cgi-bin/koha/ http://localhost:5000/ # can use this instead of FCGI
   Alias /cgi-bin/koha/ /home/ctftest2/koha-plack.psgi/
</VirtualHost>

<VirtualHost *:80>
   ServerName ctftest2-plack-staff.sandbox.kohalibrary.com
   ErrorLog /var/log/apache2/ctftest2-staff-error.log
   TransferLog /var/log/apache2/ctftest2-staff-access.log
   DocumentRoot /home/ctftest2/kohaclone/koha-tmpl

   RewriteEngine On
   RewriteRule ^/$ /cgi-bin/koha/mainpage.pl [P]
   RewriteRule ^/mainpage.pl$ /cgi-bin/koha/mainpage.pl [P]

   #ProxyPass /cgi-bin/koha/ http://localhost:5000/ # can use this instead of FCGI
   Alias /cgi-bin/koha/ /home/ctftest2/koha-plack.psgi/
</VirtualHost>

Something went wrong with that request. Please try again.