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

(-)a/C4/Installer/PerlDependencies.pm (+5 lines)
Lines 9-14 our $PERL_DEPS = { Link Here
9
        'required' => '1',
9
        'required' => '1',
10
        'min_ver'  => '0.14'
10
        'min_ver'  => '0.14'
11
    },
11
    },
12
    'Plack::Middleware::ReverseProxyPath' => {
13
        'usage'    => 'Plack',
14
        'required' => '1',
15
        'min_ver'  => '0.03'
16
    },
12
    'XML::LibXSLT' => {
17
    'XML::LibXSLT' => {
13
        'usage'    => 'Core',
18
        'usage'    => 'Core',
14
        'required' => '1',
19
        'required' => '1',
(-)a/debian/templates/apache-shared-intranet-plack.conf (+1 lines)
Lines 12-17 Link Here
12
        ProxyPreserveHost On
12
        ProxyPreserveHost On
13
13
14
       # RequestHeader set X-FORWARDED-PROTO "https"
14
       # RequestHeader set X-FORWARDED-PROTO "https"
15
        RequestHeader set "X-Forwarded-Script-Name" /cgi-bin/koha
15
16
16
        # Point the intranet site to Plack
17
        # Point the intranet site to Plack
17
        ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/intranet"
18
        ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/intranet"
(-)a/debian/templates/apache-shared-opac-plack.conf (+1 lines)
Lines 12-17 Link Here
12
        ProxyPreserveHost On
12
        ProxyPreserveHost On
13
13
14
       # RequestHeader set X-FORWARDED-PROTO "https"
14
       # RequestHeader set X-FORWARDED-PROTO "https"
15
        RequestHeader set "X-Forwarded-Script-Name" /cgi-bin/koha
15
16
16
        # Point the intranet site to Plack
17
        # Point the intranet site to Plack
17
        ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/opac"
18
        ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/opac"
(-)a/debian/templates/plack.psgi (-1 / +1 lines)
Lines 65-70 my $opac = Plack::App::CGIBin->new( Link Here
65
builder {
65
builder {
66
66
67
    enable "ReverseProxy";
67
    enable "ReverseProxy";
68
    enable "ReverseProxyPath";
68
    enable "Plack::Middleware::Static";
69
    enable "Plack::Middleware::Static";
69
70
70
    mount '/opac'     => $opac;
71
    mount '/opac'     => $opac;
71
- 

Return to bug 15005