summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-12-25 11:33:28 +0000
committeralecpl <alec@alec.pl>2011-12-25 11:33:28 +0000
commit5e8c7729fb7d1d6c6b352eb3be4a1e53d9677335 (patch)
treed9e9eed08a339ca1fe1f6a3eddbda23657f0569d /.htaccess
parent672dc411f9d26f557dbab0de4056714274a8fe92 (diff)
- Add ifModule statement for setting Options -Indexes in .htaccess file (#1488274)
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess5
1 files changed, 4 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 2bc9f95ea..55dad98ed 100644
--- a/.htaccess
+++ b/.htaccess
@@ -17,7 +17,7 @@ php_flag zend.ze1_compatibility_mode Off
php_flag suhosin.session.encrypt Off
#php_value session.cookie_path /
-php_value session.auto_start 0
+php_flag session.auto_start Off
php_value session.gc_maxlifetime 21600
php_value session.gc_divisor 500
php_value session.gc_probability 1
@@ -49,4 +49,7 @@ ExpiresDefault "access plus 1 month"
</IfModule>
FileETag MTime Size
+
+<IfModule mod_autoindex.c>
Options -Indexes
+</ifModule>