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

(-)a/debian/templates/apache-shared-intranet.conf (+2 lines)
Lines 27-32 Alias "/api" "/usr/share/koha/api" Link Here
27
27
28
    SetEnv MOJO_MODE "production"
28
    SetEnv MOJO_MODE "production"
29
29
30
    CGIPassAuth on
31
30
    RewriteBase /api/
32
    RewriteBase /api/
31
    RewriteCond %{REQUEST_URI} !^/api/v[0-1]+/app.pl
33
    RewriteCond %{REQUEST_URI} !^/api/v[0-1]+/app.pl
32
    RewriteRule ^(v[0-9]+)/(.*)$ /api/$1/app.pl/api/$1/$2 [L]
34
    RewriteRule ^(v[0-9]+)/(.*)$ /api/$1/app.pl/api/$1/$2 [L]
(-)a/debian/templates/apache-shared-opac.conf (-1 / +2 lines)
Lines 31-36 Alias "/api" "/usr/share/koha/api" Link Here
31
31
32
    SetEnv MOJO_MODE "production"
32
    SetEnv MOJO_MODE "production"
33
33
34
    CGIPassAuth on
35
34
    RewriteBase /api/
36
    RewriteBase /api/
35
    RewriteCond %{REQUEST_URI} !^/api/v[0-1]+/app.pl
37
    RewriteCond %{REQUEST_URI} !^/api/v[0-1]+/app.pl
36
    RewriteRule ^(v[0-9]+)/(.*)$ /api/$1/app.pl/api/$1/$2 [L]
38
    RewriteRule ^(v[0-9]+)/(.*)$ /api/$1/app.pl/api/$1/$2 [L]
37
- 

Return to bug 29992