From 9581ee76469d79716670215ecbe315823aa34320 Mon Sep 17 00:00:00 2001 From: Steve Waterworth Date: Wed, 24 Mar 2021 11:04:07 +0000 Subject: [PATCH] fix rewrite rule --- ratings/html/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/ratings/html/.htaccess b/ratings/html/.htaccess index f8d1e01..10f697a 100644 --- a/ratings/html/.htaccess +++ b/ratings/html/.htaccess @@ -4,6 +4,7 @@ DirectoryIndex index.php RewriteEngine On RewriteCond %{ENV:REDIRECT_STATUS} ="" RewriteRule ^index\.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=301,L] + RewriteCond %{REQUEST_URI} !=/server-status RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ %{ENV:BASE}/index.php [L]