# BEGIN iThemes Security
#Quick ban IP. Will be updated on next formal rules save.
SetEnvIF REMOTE_ADDR "^37\.59\.9\.128$" DenyAccess
SetEnvIF X-FORWARDED-FOR "^37\.59\.9\.128$" DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP "^37\.59\.9\.128$" DenyAccess
order allow,deny
deny from env=DenyAccess
deny from 37.59.9.128
allow from all
#Quick ban IP. Will be updated on next formal rules save.
SetEnvIF REMOTE_ADDR "^212\.227\.81\.71$" DenyAccess
SetEnvIF X-FORWARDED-FOR "^212\.227\.81\.71$" DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP "^212\.227\.81\.71$" DenyAccess
order allow,deny
deny from env=DenyAccess
deny from 212.227.81.71
allow from all
#Quick ban IP. Will be updated on next formal rules save.
SetEnvIF REMOTE_ADDR "^212\.227\.81\.71$" DenyAccess
SetEnvIF X-FORWARDED-FOR "^212\.227\.81\.71$" DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP "^212\.227\.81\.71$" DenyAccess
order allow,deny
deny from env=DenyAccess
deny from 212.227.81.71
allow from all
#Quick ban IP. Will be updated on next formal rules save.
SetEnvIF REMOTE_ADDR "^37\.115\.187\.91$" DenyAccess
SetEnvIF X-FORWARDED-FOR "^37\.115\.187\.91$" DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP "^37\.115\.187\.91$" DenyAccess
order allow,deny
deny from env=DenyAccess
deny from 37.115.187.91
allow from all
#Quick ban IP. Will be updated on next formal rules save.
SetEnvIF REMOTE_ADDR "^46\.249\.34\.16$" DenyAccess
SetEnvIF X-FORWARDED-FOR "^46\.249\.34\.16$" DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP "^46\.249\.34\.16$" DenyAccess
order allow,deny
deny from env=DenyAccess
deny from 46.249.34.16
allow from all
#Quick ban IP. Will be updated on next formal rules save.
SetEnvIF REMOTE_ADDR "^217\.149\.52\.112$" DenyAccess
SetEnvIF X-FORWARDED-FOR "^217\.149\.52\.112$" DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP "^217\.149\.52\.112$" DenyAccess
order allow,deny
deny from env=DenyAccess
deny from 217.149.52.112
allow from all
# END iThemes Security
# BEGIN WpFastestCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{HTTP_HOST} ^www.dentalshine.pt [NC]
RewriteRule ^(.*)$ http\:\/\/dentalshine\.pt\/$1 [R=301,L]
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
RewriteCond /home/lab1001/public_html/wp-content/cache/all/$1/index.html -f
RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
</IfModule>
<FilesMatch "\.(html|htm)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
</ifModule>
</FilesMatch>
# END WpFastestCache
# BEGIN GzipWpFastestCache
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
</IfModule>
# END GzipWpFastestCache
# BEGIN LBCWpFastestCache
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|x-html|css|xml|js|woff|ttf|svg|eot)(\.gz)?$">
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A0
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/ico A2592000
ExpiresByType text/css A2592000
ExpiresByType text/javascript A2592000
ExpiresByType application/javascript A2592000
</IfModule>
<IfModule mod_headers.c>
Header set Expires "max-age=2592000, public"
Header unset ETag
Header set Connection keep-alive
</IfModule>
FileETag None
</FilesMatch>
# END LBCWpFastestCache
# 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]
</IfModule>
# END WordPress
RewriteCond %{HTTP_HOST} ^www\.dentalshine\.pt$
RewriteRule ^(.*)$ "http\:\/\/dentalshine\.pt\/$1" [R=301,L]
