X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=etc%2Fkoha-httpd.conf;h=f9a1970767e35331224193a9efb85b1688ac34ef;hb=2b1ffd66bb88d13ac755ad1cb1aa7d86d70dc893;hp=dd5ec4185c59833d6cc897847e31d7c897ae326a;hpb=83cf63f7a8c3bcb972afcb3c0dbed6cad8ba19c5;p=koha-ffzg.git diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf index dd5ec4185c..f9a1970767 100644 --- a/etc/koha-httpd.conf +++ b/etc/koha-httpd.conf @@ -20,6 +20,13 @@ SetEnv MEMCACHED_SERVERS "__MEMCACHED_SERVERS__" SetEnv MEMCACHED_NAMESPACE "__MEMCACHED_NAMESPACE__" + # This syntax allows you to override a system preference + # for a given virtual host. Use with caution! + # You should add all the system preferences you override + # in one or more vhosts to the environment variable + # OVERRIDE_SYSPREF_NAMES for your staff intranet vhost + # SetEnv OVERRIDE_SYSPREF_PrefName Value + Options -Indexes @@ -126,6 +133,11 @@ SetEnv MEMCACHED_NAMESPACE "__MEMCACHED_NAMESPACE__" Options +FollowSymLinks + # If you are overriding any system preferences, + # list them in this variable so the preference editor + # knows that they have been overridden. + # SetEnv OVERRIDE_SYSPREF_NAMES "Pref1,Pref2,Pref3" + ErrorDocument 400 /cgi-bin/koha/errors/400.pl ErrorDocument 401 /cgi-bin/koha/errors/401.pl ErrorDocument 403 /cgi-bin/koha/errors/403.pl