<Files .htaccess>
order allow,deny
deny from all
</Files>
<Files favicon.ico>
order allow,deny
deny from all
ErrorDocument 403 default
</Files>
IndexIgnore *
Options -Indexes
ErrorDocument 404 /index.php
ErrorDocument 403 /index.php
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
</IfModule>
# If you are not using mod_php (e.g. you are using FastCGI), you have to put all these settings in php.ini
# PHP5: no "new" error types (E_STRICT, E_NOTICE, E_DEPRECATED) please.
<IfModule mod_php5.c>
php_flag safe_mode off
php_flag register_globals on
php_flag magic_quotes_gpc on
php_flag magic_quotes_runtime off
php_flag allow_call_time_pass_by_reference on
php_value max_execution_time 900
php_value max_input_time 900
php_value upload_max_filesize 20M
php_value memory_limit 128M
php_value post_max_size 20M
php_value register_long_arrays on
php_value output_buffering 0
php_value short_open_tag on
php_value error_reporting 22519
php_value request_order GPC
</IfModule>
<IfModule mod_php4.c>
php_flag safe_mode off
php_flag register_globals on
php_flag magic_quotes_gpc on
php_flag magic_quotes_runtime off
php_flag allow_call_time_pass_by_reference on
php_value max_execution_time 900
php_value max_input_time 900
php_value upload_max_filesize 20M
php_value memory_limit 128M
php_value post_max_size 20M
</IfModule>