HTACCESS
This commit is contained in:
parent
797b166fd0
commit
88f535a1ed
@ -13,14 +13,14 @@ RewriteRule ^app/.* index.php [L,NC]
|
|||||||
RewriteRule ^config/.* index.php [L,NC]
|
RewriteRule ^config/.* index.php [L,NC]
|
||||||
RewriteRule ^vendor/.* index.php [L,NC]
|
RewriteRule ^vendor/.* index.php [L,NC]
|
||||||
RewriteRule ^routes/.* index.php [L,NC]
|
RewriteRule ^routes/.* index.php [L,NC]
|
||||||
RewriteRule ^pages/.* index.php [L,NC]
|
|
||||||
|
|
||||||
##
|
##
|
||||||
## White listed folders
|
## White listed folders
|
||||||
##
|
##
|
||||||
RewriteCond %{REQUEST_FILENAME} -f
|
RewriteCond %{REQUEST_FILENAME} -f
|
||||||
RewriteCond %{REQUEST_FILENAME} !/api/docs/.*
|
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]
|
RewriteRule !^index.php index.php [L,NC]
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user