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
+
+ <Directory "__OPAC_WWW_DIR__">
+ Options -Indexes
+ </Directory>
+
+ # Secure internal stuff
+ <DirectoryMatch "__OPAC_WWW_DIR__/.*/(modules|xslt|includes)">
+ Order deny,allow
+ Deny from all
+ </DirectoryMatch>
+
<IfModule mod_gzip.c>
mod_gzip_on yes
mod_gzip_dechunk yes
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
ErrorDocument 404 /cgi-bin/koha/errors/404.pl
ErrorDocument 500 /cgi-bin/koha/errors/500.pl
+ <Directory "__INTRANET_WWW_DIR__">
+ Options -Indexes
+ </Directory>
+
+ # Secure internal stuff
+ <DirectoryMatch "__INTRANET_WWW_DIR__/.*/(modules|xslt|includes)">
+ Order deny,allow
+ Deny from all
+ </DirectoryMatch>
+
<IfModule mod_gzip.c>
mod_gzip_on yes
mod_gzip_dechunk yes