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

(-)a/debian/templates/apache-shared-intranet.conf (-1 / +3 lines)
Lines 11-16 ScriptAlias /cgi-bin/koha/ "/usr/share/koha/intranet/cgi-bin/" Link Here
11
ScriptAlias /index.html "/usr/share/koha/intranet/cgi-bin/mainpage.pl"
11
ScriptAlias /index.html "/usr/share/koha/intranet/cgi-bin/mainpage.pl"
12
ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/catalogue/search.pl"
12
ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/catalogue/search.pl"
13
13
14
# Protect dev package install
15
RewriteEngine on
16
RewriteRule ^/cgi-bin/koha/(C4|debian|etc|installer/data|install_misc|Koha|misc|selenium|t|test|tmp|xt)/|\.PL$ /notfound [PT]
14
17
15
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
18
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
16
RewriteRule (.+) $1?%1%2 [N,R,NE]
19
RewriteRule (.+) $1?%1%2 [N,R,NE]
17
- 

Return to bug 16922