diff options
author | thomascube <thomas@roundcube.net> | 2007-08-16 08:21:38 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-08-16 08:21:38 +0000 |
commit | ef9641e139aa3d55e402de6a064e1382954fe5b4 (patch) | |
tree | ed2a87c435419dee4b44590e8fd8c2ced163e677 | |
parent | 6b603da6f16591b63f809ef967554d260bd0d891 (diff) |
Use IfModule directive in .htaccess (closes #1484381)
-rw-r--r-- | .htaccess | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -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 |