summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-05 00:29:32 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-05 00:29:32 +0000
commitcd9bdaa07abc69b86be58e2543522f9e28c83dc9 (patch)
treef8b63cd1d98aac5acfa47f55ac71e17e158d16f0
parentb1effc1d352ee845dc5a943f28f6d117cd51c402 (diff)
php_flag -> php_value, guard all with <IfModule mod_php5.c>
-rw-r--r--.htaccess13
1 files changed, 8 insertions, 5 deletions
diff --git a/.htaccess b/.htaccess
index 20170d5e..190ff745 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,5 +1,8 @@
-php_flag short_open_tag 1
-php_flag register_globals 0
-php_value upload_max_filesize 20M
-php_value post_max_size 100M
-
+<IfModule mod_php5.c>
+ php_value short_open_tag 1
+ php_value magic_quotes_gpc 0
+ php_value register_globals 0
+ php_value session.auto_start 0
+ php_value upload_max_filesize 20M
+ php_value post_max_size 100M
+</IfModule>