summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-08-16 08:21:38 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-08-16 08:21:38 +0000
commitb4be696bdd5618095ab551818e7ffda410061488 (patch)
treef76acd9b81f4998304edaffab8536811739a5b04
parent0b8aaa7fccc80a9ec625c20b0937047ccf3a03bc (diff)
Use IfModule directive in .htaccess (closes #1484381)
git-svn-id: https://svn.roundcube.net/trunk@691 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/.htaccess18
1 files changed, 14 insertions, 4 deletions
diff --git a/roundcubemail/.htaccess b/roundcubemail/.htaccess
index 2244a0571..c2bfaf1a4 100644
--- a/roundcubemail/.htaccess
+++ b/roundcubemail/.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