daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Mar 28th, 2016 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cat apache-shared-opac.conf
  2. # Apache configuration settings that are shared for every Koha instance.
  3. # This file contains settings for the OPAC site.
  4. #
  5. # This file should be included from an instance's
  6. # /etc/apache2/site-available file, from within the VirtualHost section
  7. # for OPAC.
  8.  
  9. DocumentRoot /usr/share/koha/opac/htdocs
  10.  
  11. ScriptAlias /cgi-bin/koha/ "/usr/share/koha/opac/cgi-bin/opac/"
  12. ScriptAlias /index.html "/usr/share/koha/opac/cgi-bin/opac/opac-main.pl"
  13. ScriptAlias /search "/usr/share/koha/opac/cgi-bin/opac/opac-search.pl"
  14. ScriptAlias /opac-search.pl "/usr/share/koha/opac/cgi-bin/opac/opac-search.pl"
  15.  
  16. RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
  17. RewriteRule (.+) $1?%1%2 [N,R,NE]
  18. RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT]
  19. RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]
  20. RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top