Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 33 lines (24 sloc) 1.181 kb
e382258 @ctfliblime Add Plack scaffolding and middleware
ctfliblime authored
1 FastCgiExternalServer /home/ctftest2/koha-plack.psgi -host 127.0.0.1:5000
2
3 <VirtualHost *:80>
4 ServerName ctftest2-plack.sandbox.kohalibrary.com
5 ErrorLog /var/log/apache2/ctftest2-opac-error.log
6 TransferLog /var/log/apache2/ctftest2-opac-access.log
7 DocumentRoot /home/ctftest2/kohaclone/koha-tmpl
8
9 RewriteEngine On
10 RewriteCond %{REQUEST_URI} !^/cgi-bin/koha/opac/
11 RewriteRule ^/cgi-bin/koha/(.*) /cgi-bin/koha/opac/$1 [P]
12
13 RewriteRule ^/$ /cgi-bin/koha/opac/opac-main.pl [P]
14
15 #ProxyPass /cgi-bin/koha/ http://localhost:5000/ # can use this instead of FCGI
16 Alias /cgi-bin/koha/ /home/ctftest2/koha-plack.psgi/
17 </VirtualHost>
18
19 <VirtualHost *:80>
20 ServerName ctftest2-plack-staff.sandbox.kohalibrary.com
21 ErrorLog /var/log/apache2/ctftest2-staff-error.log
22 TransferLog /var/log/apache2/ctftest2-staff-access.log
23 DocumentRoot /home/ctftest2/kohaclone/koha-tmpl
24
25 RewriteEngine On
26 RewriteRule ^/$ /cgi-bin/koha/mainpage.pl [P]
27 RewriteRule ^/mainpage.pl$ /cgi-bin/koha/mainpage.pl [P]
28
29 #ProxyPass /cgi-bin/koha/ http://localhost:5000/ # can use this instead of FCGI
30 Alias /cgi-bin/koha/ /home/ctftest2/koha-plack.psgi/
31 </VirtualHost>
32
Something went wrong with that request. Please try again.