Skip to content
Snippets Groups Projects
Commit 45523adb authored by Afrizal Fikri's avatar Afrizal Fikri
Browse files

htaccess

parent 2b60d07f
Branches
No related merge requests found
Pipeline #2650 skipped
fonts @ a44abd0e
Subproject commit a44abd0e742ad6e7fd8d8bc4c3cad5155c9f3a92
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
DirectoryIndex index.php
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment