This commit is contained in:
Kilian Hofmann 2024-07-19 10:59:21 +02:00
parent 797b166fd0
commit 88f535a1ed

View File

@ -13,14 +13,14 @@ RewriteRule ^app/.* index.php [L,NC]
RewriteRule ^config/.* index.php [L,NC]
RewriteRule ^vendor/.* index.php [L,NC]
RewriteRule ^routes/.* index.php [L,NC]
RewriteRule ^pages/.* index.php [L,NC]
##
## White listed folders
##
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} !/api/docs/.*
RewriteCond %{REQUEST_FILENAME} !/assets/.*
RewriteCond %{REQUEST_FILENAME} !/pages/.*
RewriteCond %{REQUEST_FILENAME} !/pages/assets/.*
RewriteRule !^index.php index.php [L,NC]
##