Use IfModule directive in .htaccess (closes #1484381)

release-0.6
thomascube 18 years ago
parent 6b603da6f1
commit ef9641e139

@ -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

Loading…
Cancel
Save