(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. Yes but Bug 9683 added a <IfModule mod_rewrite.c> around those lines. It means
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10646 --- Comment #14 from Fridolin SOMERS <fridolyn.somers@biblibre.com> --- (In reply to Robin Sheat from comment #12) that those lines are not active is mod_rewrite if not enabled. In my opinion, very few libs are using those rules. But it can be kept has examples. -- You are receiving this mail because: You are watching all bug changes.