X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=etc%2Fkoha-httpd.conf;h=f9a1970767e35331224193a9efb85b1688ac34ef;hb=3d8f462cce3779fd1963d623b051dbc79d2f799a;hp=dd5ec4185c59833d6cc897847e31d7c897ae326a;hpb=f7644ec91f2d151535f8f5125c4057a9213d766e;p=koha.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