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

(-)a/etc/koha-httpd.conf (-7 lines)
Lines 100-108 Link Here
100
     # Rewrite Rules
100
     # Rewrite Rules
101
     RewriteEngine On
101
     RewriteEngine On
102
102
103
     #The following two directives are unnecessary to proper Koha functioning.
104
     #RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
105
     #RewriteRule (.+) $1?%1%2 [N,R,NE]
106
     RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT]
103
     RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT]
107
     RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]
104
     RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]
108
     RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]
105
     RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]
Lines 220-228 Link Here
220
     # Rewrite Rules
217
     # Rewrite Rules
221
     RewriteEngine On
218
     RewriteEngine On
222
219
223
     #The following two directives are unnecessary to proper Koha functioning.
224
     #RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
225
     #RewriteRule (.+) $1?%1%2 [N,R,NE]
226
     RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/catalogue/detail.pl?biblionumber=$1 [PT]
220
     RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/catalogue/detail.pl?biblionumber=$1 [PT]
227
     RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]
221
     RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]
228
     RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]
222
     RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]
229
- 

Return to bug 25548