Verified Commit 73619714 authored by Mehdi Baaboura's avatar Mehdi Baaboura
Browse files

Added .htaccess file for Apache support

parent 2a42a117
RewriteEngine On
RewriteCond %{REQUEST_URI} !(\.css|\.js|\.xml|\.png|\.jpg|\.svg|\.webmanifest|\.ico|\.gif|robots\.txt)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?params=$1 [L,QSA]
# re-add Authorization header
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
Options -Indexes
\ No newline at end of file
Markdown is supported
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