summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-11 11:16:52 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-11 11:16:52 -0700
commite1b9565232fac63ce63b29c434211ad9763b13ac (patch)
tree4132c4210015dbd5dab5da15128d12b280d09481 /.htaccess
parent7ec490b6009965920fea35e971b29f11df6e6bff (diff)
Change all booleans to use php_flag instead of php_value. And turn off
suhosin.session.encrypt by default.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess17
1 files changed, 9 insertions, 8 deletions
diff --git a/.htaccess b/.htaccess
index 8c2e3793..1d8bcb34 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,12 +1,13 @@
<IfModule mod_php5.c>
- php_value short_open_tag 1
- php_value magic_quotes_gpc 0
- php_value magic_quotes_sybase 0
- php_value magic_quotes_runtime 0
- php_value register_globals 0
- php_value session.auto_start 0
- php_value upload_max_filesize 20M
- php_value post_max_size 100M
+ php_flag short_open_tag On
+ php_flag magic_quotes_gpc Off
+ php_flag magic_quotes_sybase Off
+ php_flag magic_quotes_runtime Off
+ php_flag register_globals Off
+ php_flag session.auto_start Off
+ php_flag suhosin.session.encrypt Off
+ php_value upload_max_filesize 20M
+ php_value post_max_size 100M
</IfModule>
# Try to disable the parts of mod_security that interfere with the Flash uploader