summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess18
1 files changed, 14 insertions, 4 deletions
diff --git a/.htaccess b/.htaccess
index 2244a0571..c2bfaf1a4 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,8 +1,18 @@
# AddDefaultCharset UTF-8
-php_flag display_errors Off
-php_flag log_errors On
-php_value error_log logs/errors
-php_value upload_max_filesize 5M
+
+<IfModule mod_php4.c>
+ php_flag display_errors Off
+ php_flag log_errors On
+ php_value error_log logs/errors
+ php_value upload_max_filesize 5M
+</IfModule>
+
+<IfModule mod_php5.c>
+ php_flag display_errors Off
+ php_flag log_errors On
+ php_value error_log logs/errors
+ php_value upload_max_filesize 5M
+</IfModule>
<FilesMatch "(\.inc|\~)$">
Order allow,deny