X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=etc%2Fkoha-httpd.conf;h=084189815338b177cbb3b69290be230932ee92e9;hb=fe3621812e80eef0e1c8eb3a47ae639990fd0f6d;hp=542e2e6fd4d266e16cb20c764b149cb0156a5a7e;hpb=56622d5428679aa32271c4ac19c982bc41614607;p=koha.git diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf index 542e2e6fd4..0841898153 100644 --- a/etc/koha-httpd.conf +++ b/etc/koha-httpd.conf @@ -16,8 +16,21 @@ # TransferLog __LOG_DIR__/koha-opac-access_log SetEnv KOHA_CONF "__KOHA_CONF_DIR__/koha-conf.xml" SetEnv PERL5LIB "__PERL_MODULE_DIR__" + +# Repeat this virtualhost stanza changing the following environment vars to +# create multiple OPAC interfaces with custom css and/or search limits: +# SetEnv OPAC_CSS_OVERRIDE mystyle.css +# SetEnv OPAC_SEARCH_LIMIT branch:CODE +# SetEnv OPAC_LIMIT_OVERRIDE 1 + Options +FollowSymLinks + ErrorDocument 400 /cgi-bin/koha/errors/400.pl + ErrorDocument 401 /cgi-bin/koha/errors/401.pl + ErrorDocument 403 /cgi-bin/koha/errors/403.pl + ErrorDocument 404 /cgi-bin/koha/errors/404.pl + ErrorDocument 500 /cgi-bin/koha/errors/500.pl + # Rewrite Rules RewriteEngine On @@ -46,6 +59,13 @@ SetEnv KOHA_CONF "__KOHA_CONF_DIR__/koha-conf.xml" SetEnv PERL5LIB "__PERL_MODULE_DIR__" Options +FollowSymLinks + + ErrorDocument 400 /cgi-bin/koha/errors/400.pl + ErrorDocument 401 /cgi-bin/koha/errors/401.pl + ErrorDocument 403 /cgi-bin/koha/errors/403.pl + ErrorDocument 404 /cgi-bin/koha/errors/404.pl + ErrorDocument 500 /cgi-bin/koha/errors/500.pl + RewriteEngine On # Uncomment to turn on rewrite logging # RewriteLog __LOG_DIR__/koha-intranet-rewrite.log