From 33557b6376515d72b28b56ce6b7677a5b52dfeef Mon Sep 17 00:00:00 2001
From: Fridolin Somers <fridolin.somers@biblibre.com>
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.
---
 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.28.0