Файл: .htaccess
Строк: 69
Options -Indexes
ErrorDocument 402 http://johncms.com/?err
ErrorDocument
403 http://johncms.com/?err
ErrorDocument 404
http://johncms.com/?err
ErrorDocument 500
http://johncms.com/?err
DirectoryIndex index.php
RemoveHandler .phtml
.php3 .php4 .php5 .php6 .phps .cgi .pl .asp .aspx .shtml .shtm .fcgi .fpl
.jsp .py
AddType application/x-httpd-php-source .phtml .php3 .php4 .php5
.php6 .phps .cgi .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp
.py
php_flag display_errors 0
php_value error_reporting 7
php_value
register_globals 0
php_flag session.use_trans_sid off
php_value
magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value
magic_quotes_sybase 0
php_value allow_url_fopen 0
php_value
arg_separator.output "&"
AddDefaultCharset
UTF-8
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1
month"
# CSS
ExpiresByType text/css
"access plus 1 year"
# Data interchange
ExpiresByType application/json "access plus 0
seconds"
ExpiresByType application/ld+json
"access plus 0 seconds"
ExpiresByType application/xml
"access plus 0 seconds"
ExpiresByType
text/xml "access plus 0 seconds"
# Favicon (cannot be renamed!) and cursor images
ExpiresByType
image/x-icon "access plus 1 week"
#
HTML components (HTCs)
ExpiresByType text/x-component
"access plus 1 month"
# HTML
ExpiresByType
text/html "access plus 0 seconds"
# JavaScript
ExpiresByType application/javascript
"access plus 1 year"
# Manifest files
ExpiresByType
application/x-web-app-manifest+json "access plus 0 seconds"
ExpiresByType text/cache-manifest "access plus 0
seconds"
# Media
ExpiresByType audio/ogg
"access plus 1 month"
ExpiresByType image/gif
"access plus 1 month"
ExpiresByType
image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1
month"
ExpiresByType video/mp4
"access plus 1 month"
ExpiresByType video/ogg
"access plus 1 month"
ExpiresByType video/webm
"access plus 1 month"
# Web
feeds
ExpiresByType application/atom+xml "access
plus 1 hour"
ExpiresByType application/rss+xml
"access plus 1 hour"
</IfModule>
RewriteEngine
On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteCond %{HTTP:range}
!(^bytes=[^,]+(,[^,]+){0,4}$|^$)
RewriteRule .* - [F]