Update .htaccess
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
Options -Indexes
|
||||
RewriteEngine On
|
||||
RewriteBase /sinergi/
|
||||
RewriteBase /
|
||||
|
||||
# Allow direct access to public assets
|
||||
RewriteCond %{REQUEST_URI} ^/sinergi/public/ [NC]
|
||||
RewriteCond %{REQUEST_URI} ^/public/ [NC]
|
||||
RewriteRule ^ - [L]
|
||||
|
||||
# Route everything else to index.php
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*)$ index.php [QSA,L]
|
||||
RewriteRule ^(.*)$ index.php [QSA,L]
|
||||
Reference in New Issue
Block a user