Marcel de Rooy
3fe6abc9d5
A long-standing typo in our apache config files: [intranet]/search refers to search.pl (which does not exist) This patch refers it to catalogue/search.pl Test plan: Run an install or copy the change from apache-shared-intranet.conf or koha-httpd.conf to your apache config. Restart Apache and check if http://[your staff client]/search works. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Tested by making manual changes according to the patch. Did not test a new installation. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
19 lines
796 B
Text
19 lines
796 B
Text
# Apache configuration settings that are shared for every Koha instance.
|
|
# This file contains settings for the intranet site.
|
|
#
|
|
# This file should be included from an instance's
|
|
# /etc/apache2/site-available file, from within the VirtualHost section
|
|
# for the intranet.
|
|
|
|
DocumentRoot /usr/share/koha/intranet/htdocs
|
|
|
|
ScriptAlias /cgi-bin/koha/ "/usr/share/koha/intranet/cgi-bin/"
|
|
ScriptAlias /index.html "/usr/share/koha/intranet/cgi-bin/mainpage.pl"
|
|
ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/catalogue/search.pl"
|
|
|
|
|
|
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]
|