From 9f8fd59873334f2ee7d846852c3ded0ae14909d9 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Tue, 20 Aug 2024 00:25:02 +0800 Subject: [PATCH] Enable rewrite engine --- src/.htaccess.njk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/.htaccess.njk b/src/.htaccess.njk index 6cc27cf0..06bd00ae 100644 --- a/src/.htaccess.njk +++ b/src/.htaccess.njk @@ -11,6 +11,8 @@ Header set Cache-Control "max-age=31536000, public" Header set Cache-Control "no-cache, public" +RewriteEngine on + # Block bad bots RewriteCond %{HTTP_USER_AGENT} (Amazonbot) [NC,OR] RewriteCond %{HTTP_USER_AGENT} (Applebot) [NC,OR]