From b40b65677996dce2fccca1149029fcf5e8a17c68 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 30 Sep 2020 14:54:57 +0200 Subject: [PATCH] Bug 25548: (follow-up) Remove those rewrite redirects in koha-httpd.conf In etc/koha-httpd.conf for dev install, those rewrite redirects are already commented. Just remove them. Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart (cherry picked from commit 6267eb7cba91ad8177cc60c4c7cba0b26b473cee) Signed-off-by: Andrew Fuerste-Henry --- etc/koha-httpd.conf | 6 ------ 1 file changed, 6 deletions(-) diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf index 20a9b45f2c..fc2e440a6e 100644 --- a/etc/koha-httpd.conf +++ b/etc/koha-httpd.conf @@ -100,9 +100,6 @@ # Rewrite Rules RewriteEngine On - #The following two directives are unnecessary to proper Koha functioning. - #RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*) - #RewriteRule (.+) $1?%1%2 [N,R,NE] RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT] RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] @@ -220,9 +217,6 @@ # Rewrite Rules RewriteEngine On - #The following two directives are unnecessary to proper Koha functioning. - #RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*) - #RewriteRule (.+) $1?%1%2 [N,R,NE] RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/catalogue/detail.pl?biblionumber=$1 [PT] RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] -- 2.39.5