summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-12-25 11:35:42 +0000
committeralecpl <alec@alec.pl>2011-12-25 11:35:42 +0000
commit9fc4eb3f828335c8e375487c518b63d1fea46132 (patch)
tree7394dfef24eb1203c4cf7d275ce91d2ae8af67a3 /.htaccess
parentd355c04084d0568908f495c515c09000271ff9aa (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>