Enable rewrite engine

This commit is contained in:
Leilukin 2024-08-20 00:25:02 +08:00 committed by Helen Chong
parent 612f6ea066
commit bddbca73a2

View File

@ -11,6 +11,8 @@ Header set Cache-Control "max-age=31536000, public"
Header set Cache-Control "no-cache, public"
</FilesMatch>
RewriteEngine on
# Block bad bots
RewriteCond %{HTTP_USER_AGENT} (Amazonbot) [NC,OR]
RewriteCond %{HTTP_USER_AGENT} (Applebot) [NC,OR]