View | Details | Raw Unified | Return to bug 13791
Collapse All | Expand All

(-)a/debian/templates/apache-shared-intranet-plack.conf (+12 lines)
Line 0 Link Here
1
# Apache configuration settings that are shared for every Koha instance.
2
# This file contains settings for the Plack configuration of the
3
# intranet site.
4
#
5
# This file should be included from an instance's 
6
# /etc/apache2/site-available file, from within the VirtualHost section
7
# for the intranet.
8
9
ProxyPreserveHost On
10
RequestHeader set X-FORWARDED-PROTO "http"
11
ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/intranet"
12
#ProxyPass /api "unix:/var/run/koha/${instance}/plack.sock|http://localhost/api"
(-)a/debian/templates/apache-shared-opac-plack.conf (+11 lines)
Line 0 Link Here
1
# Apache configuration settings that are shared for every Koha instance.
2
# This file contains settings for the Plack configuration of the OPAC.
3
#
4
# This file should be included from an instance's 
5
# /etc/apache2/site-available file, from within the VirtualHost section
6
# for the OPAC.
7
8
ProxyPreserveHost On
9
RequestHeader set X-FORWARDED-PROTO "http"
10
ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/opac"
11
#ProxyPass /api "unix:/var/run/koha/${instance}/plack.sock|http://localhost/api"
(-)a/debian/templates/apache-site.conf.in (-1 / +4 lines)
Lines 2-9 Link Here
2
2
3
# OPAC
3
# OPAC
4
<VirtualHost *:__OPACPORT__>
4
<VirtualHost *:__OPACPORT__>
5
   Define instance "__KOHASITE__"
5
   Include /etc/koha/apache-shared.conf
6
   Include /etc/koha/apache-shared.conf
6
#  Include /etc/koha/apache-shared-disable.conf
7
#  Include /etc/koha/apache-shared-disable.conf
8
#  Include /etc/koha/apache-shared-opac-plack.conf
7
   Include /etc/koha/apache-shared-opac.conf
9
   Include /etc/koha/apache-shared-opac.conf
8
10
9
   ServerName __OPACSERVER__
11
   ServerName __OPACSERVER__
Lines 19-26 Link Here
19
21
20
# Intranet
22
# Intranet
21
<VirtualHost *:__INTRAPORT__>
23
<VirtualHost *:__INTRAPORT__>
24
   Define instance "__KOHASITE__"
22
   Include /etc/koha/apache-shared.conf
25
   Include /etc/koha/apache-shared.conf
23
#  Include /etc/koha/apache-shared-disable.conf
26
#  Include /etc/koha/apache-shared-disable.conf
27
#  Include /etc/koha/apache-shared-intranet-plack.conf
24
   Include /etc/koha/apache-shared-intranet.conf
28
   Include /etc/koha/apache-shared-intranet.conf
25
   
29
   
26
   ServerName __INTRASERVER__
30
   ServerName __INTRASERVER__
27
- 

Return to bug 13791