[Koha-bugs] [Bug 9683] Allow disable rewrite apache mod

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 3 00:05:23 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9683

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16215|0                           |1
        is obsolete|                            |

--- Comment #7 from Mason James <mtj at kohaaloha.com> ---
Created attachment 17151
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17151&action=edit
Bug 9683: Allow disable rewrite apache mod

In Apache config koha-httpd.conf, URL-rewriting is enabled and does not allow
to disable mod_rewrite.
Also, first rewriting rule "RewriteRule (.+) $1?%1%2 [N,R,NE]" is enabled by
default. This rule rewrites nearly every URL. I propose to comment it in
sources so that is must be intentionally enabled.

This patch sets rewriting options into a conditional tag.

Test plan :
Test OPAC and intranet with and without mod_rewrite activated.

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Mason James <mtj at kohaaloha.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list