... | ... | @@ -49,37 +49,37 @@ |
|
|
</IfModule>
|
|
|
|
|
|
<IfModule mod_deflate.c>
|
|
|
AddOutputFilterByType DEFLATE text/plain
|
|
|
AddOutputFilterByType DEFLATE text/html
|
|
|
AddOutputFilterByType DEFLATE text/xml
|
|
|
AddOutputFilterByType DEFLATE text/css
|
|
|
AddOutputFilterByType DEFLATE text/vtt
|
|
|
AddOutputFilterByType DEFLATE text/x-component
|
|
|
AddOutputFilterByType DEFLATE application/xml
|
|
|
AddOutputFilterByType DEFLATE application/xhtml+xml
|
|
|
AddOutputFilterByType DEFLATE application/rss+xml
|
|
|
AddOutputFilterByType DEFLATE application/js
|
|
|
AddOutputFilterByType DEFLATE application/javascript
|
|
|
AddOutputFilterByType DEFLATE application/x-javascript
|
|
|
AddOutputFilterByType DEFLATE application/x-httpd-php
|
|
|
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
|
|
|
AddOutputFilterByType DEFLATE application/atom+xml
|
|
|
AddOutputFilterByType DEFLATE application/json
|
|
|
AddOutputFilterByType DEFLATE application/ld+json
|
|
|
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
|
|
|
AddOutputFilterByType DEFLATE application/x-font-ttf
|
|
|
AddOutputFilterByType DEFLATE application/font-woff2
|
|
|
AddOutputFilterByType DEFLATE application/x-font-woff
|
|
|
AddOutputFilterByType DEFLATE application/x-web-app-manifest+json font/woff
|
|
|
AddOutputFilterByType DEFLATE font/woff
|
|
|
AddOutputFilterByType DEFLATE font/opentype
|
|
|
AddOutputFilterByType DEFLATE image/svg+xml
|
|
|
AddOutputFilterByType DEFLATE image/x-icon
|
|
|
SetEnvIfNoCase REQUEST_URI \.(?:gif|jpg|jpeg|png|svg)$ no-gzip dont-vary
|
|
|
BrowserMatch ^Mozilla/4 gzip-only-text/html
|
|
|
BrowserMatch ^Mozilla/4\.0[678] no-gzip
|
|
|
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
|
|
|
Header append Vary User-Agent env=!dont-vary
|
|
|
AddOutputFilterByType DEFLATE text/plain
|
|
|
AddOutputFilterByType DEFLATE text/html
|
|
|
AddOutputFilterByType DEFLATE text/xml
|
|
|
AddOutputFilterByType DEFLATE text/css
|
|
|
AddOutputFilterByType DEFLATE text/vtt
|
|
|
AddOutputFilterByType DEFLATE text/x-component
|
|
|
AddOutputFilterByType DEFLATE application/xml
|
|
|
AddOutputFilterByType DEFLATE application/xhtml+xml
|
|
|
AddOutputFilterByType DEFLATE application/rss+xml
|
|
|
AddOutputFilterByType DEFLATE application/js
|
|
|
AddOutputFilterByType DEFLATE application/javascript
|
|
|
AddOutputFilterByType DEFLATE application/x-javascript
|
|
|
AddOutputFilterByType DEFLATE application/x-httpd-php
|
|
|
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
|
|
|
AddOutputFilterByType DEFLATE application/atom+xml
|
|
|
AddOutputFilterByType DEFLATE application/json
|
|
|
AddOutputFilterByType DEFLATE application/ld+json
|
|
|
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
|
|
|
AddOutputFilterByType DEFLATE application/x-font-ttf
|
|
|
AddOutputFilterByType DEFLATE application/font-woff2
|
|
|
AddOutputFilterByType DEFLATE application/x-font-woff
|
|
|
AddOutputFilterByType DEFLATE application/x-web-app-manifest+json font/woff
|
|
|
AddOutputFilterByType DEFLATE font/woff
|
|
|
AddOutputFilterByType DEFLATE font/opentype
|
|
|
AddOutputFilterByType DEFLATE image/svg+xml
|
|
|
AddOutputFilterByType DEFLATE image/x-icon
|
|
|
SetEnvIfNoCase REQUEST_URI \.(?:gif|jpg|jpeg|png|svg)$ no-gzip dont-vary
|
|
|
BrowserMatch ^Mozilla/4 gzip-only-text/html
|
|
|
BrowserMatch ^Mozilla/4\.0[678] no-gzip
|
|
|
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
|
|
|
Header append Vary User-Agent env=!dont-vary
|
|
|
</IfModule>
|
|
|
|
|
|
<IfModule mod_headers.c>
|
... | ... | @@ -178,13 +178,13 @@ Header append Vary User-Agent env=!dont-vary |
|
|
</Limit>
|
|
|
|
|
|
<files install.php>
|
|
|
Order allow,deny
|
|
|
Deny from all
|
|
|
Order allow,deny
|
|
|
Deny from all
|
|
|
</files>
|
|
|
|
|
|
<files wp-config.php>
|
|
|
Order allow,deny
|
|
|
Deny from all
|
|
|
Order allow,deny
|
|
|
Deny from all
|
|
|
</files>
|
|
|
|
|
|
<files readme.html>
|
... | ... | @@ -200,8 +200,8 @@ Deny from all |
|
|
</Files>
|
|
|
|
|
|
<files error_log>
|
|
|
Order allow,deny
|
|
|
Deny from all
|
|
|
Order allow,deny
|
|
|
Deny from all
|
|
|
</files>
|
|
|
|
|
|
<FilesMatch "(\.htaccess|\.htpasswd)">
|
... | ... | @@ -210,13 +210,13 @@ Deny from all |
|
|
</FilesMatch>
|
|
|
|
|
|
<IfModule mod_rewrite.c>
|
|
|
RewriteEngine On
|
|
|
RewriteBase /
|
|
|
RewriteRule ^wp-admin/includes/ - [F,L]
|
|
|
RewriteRule !^wp-includes/ - [S=3]
|
|
|
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
|
|
|
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
|
|
|
RewriteRule ^wp-includes/theme-compat/ - [F,L]
|
|
|
RewriteEngine On
|
|
|
RewriteBase /
|
|
|
RewriteRule ^wp-admin/includes/ - [F,L]
|
|
|
RewriteRule !^wp-includes/ - [S=3]
|
|
|
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
|
|
|
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
|
|
|
RewriteRule ^wp-includes/theme-compat/ - [F,L]
|
|
|
</IfModule>
|
|
|
|
|
|
<IfModule mod_headers.c>
|
... | ... | @@ -237,12 +237,12 @@ RewriteRule ^wp-includes/theme-compat/ - [F,L] |
|
|
|
|
|
# BEGIN WordPress
|
|
|
<IfModule mod_rewrite.c>
|
|
|
RewriteEngine On
|
|
|
RewriteBase /
|
|
|
RewriteRule ^index\.php$ - [L]
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
RewriteRule . /index.php [L]
|
|
|
RewriteEngine On
|
|
|
RewriteBase /
|
|
|
RewriteRule ^index\.php$ - [L]
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
RewriteRule . /index.php [L]
|
|
|
</IfModule>
|
|
|
# END WordPress
|
|
|
|
... | ... | |