Enable rewrite engine
This commit is contained in:
parent
612f6ea066
commit
bddbca73a2
@ -11,6 +11,8 @@ Header set Cache-Control "max-age=31536000, public"
|
|||||||
Header set Cache-Control "no-cache, public"
|
Header set Cache-Control "no-cache, public"
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
||||||
|
RewriteEngine on
|
||||||
|
|
||||||
# Block bad bots
|
# Block bad bots
|
||||||
RewriteCond %{HTTP_USER_AGENT} (Amazonbot) [NC,OR]
|
RewriteCond %{HTTP_USER_AGENT} (Amazonbot) [NC,OR]
|
||||||
RewriteCond %{HTTP_USER_AGENT} (Applebot) [NC,OR]
|
RewriteCond %{HTTP_USER_AGENT} (Applebot) [NC,OR]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user