[Koha-bugs] [Bug 10646] mod_rewrite should be enabled by the postinst script
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Feb 9 22:48:43 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10646
--- Comment #12 from Robin Sheat <robin at catalyst.net.nz> ---
(In reply to Fridolin SOMERS from comment #11)
> The mod_rewrite module is not mandatory anymore in Apache configuration
> (etc/koha-httpd.conf) since Bug 9683.
> Why is it different when using packaged version ?
In both the opac and the staff client, the following rewrite rules are applied:
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
RewriteRule (.+) $1?%1%2 [N,R,NE]
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT]
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]
RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]
I'm not sure if they're ever useful (from looking at bug 9683, I suspect not.)
We could make them conditional, or we could drop them totally. I don't really
mind either way.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list