https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25548 Bug ID: 25548 Summary: Package install Apache performs unnecessary redirects Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org Package install Apache performs unnecessary redirects using the following directives: RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*) RewriteRule (.+) $1?%1%2 [N,R,NE] These directives were removed from etc/koha-httpd.conf many years ago, but they still persist in the Debian Apache templates. It means that every simple search to /cgi-bin/koha/opac-search.pl from the masthead will redirect from /cgi-bin/koha/opac-search.pl?idx=&q=blah to /cgi-bin/koha/opac-search.pl?q=blah. It's OK if we have idx= in the URL. Let's reduce the amount of HTTP traffic we're generating. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.