summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-08-16 08:21:38 +0000
committerthomascube <thomas@roundcube.net>2007-08-16 08:21:38 +0000
commitef9641e139aa3d55e402de6a064e1382954fe5b4 (patch)
treeed2a87c435419dee4b44590e8fd8c2ced163e677 /.htaccess
parent6b603da6f16591b63f809ef967554d260bd0d891 (diff)
Use IfModule directive in .htaccess (closes #1484381)
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