fix rewrite rule

This commit is contained in:
Steve Waterworth
2021-03-24 11:04:07 +00:00
parent 0efbf5ead4
commit 9581ee7646

View File

@@ -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]
</IfModule>