[Bug 3954] New: rewrite rules for /issn and /isbn result in 404
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3954 Summary: rewrite rules for /issn and /isbn result in 404 Product: Koha Version: HEAD Platform: PC OS/Version: Linux - Debian Status: NEW Severity: enhancement Priority: P5 Component: OPAC AssignedTo: Ian.Walls@med.nyu.edu ReportedBy: Ian.Walls@med.nyu.edu Estimated Hours: 0.0 Change sponsored?: --- In koha-httpd.conf, there are two rewrite rules that allow for easy composition of ISSN and ISBN searches: RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] Attempting to navigate to http://koha.url/issn/1000-1111 results in a 404 error, because http://koha.url/search?q=issn:1000-1111 also doesn't exist. This should be written as: RewriteRule ^/isbn/([^\/]*)/?$ /cgi-bin/koha/opac-search.pl?idx=nb&q=$1 [PT] RewriteRule ^/issn/([^\/]*)/?$ /cgi-bin/koha/opac-search.pl?idx=nb&q=$1 [PT] Additionally, these rules could be expanded to handle further common search parameters, and perhaps even arbitrary OpenURL requests. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3954 Ian Walls <Ian.Walls@med.nyu.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P5 |PATCH-Sent --- Comment #1 from Ian Walls <Ian.Walls@med.nyu.edu> 2009-12-17 20:50:38 --- Sent patch that changes updates some ScriptAliases to opac/opac-search.pl, rather than opac/search. Should resolve issue. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3954 Ian Walls <ian.walls@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com