Skip to content

Instantly share code, notes, and snippets.

@mingomax
Created June 21, 2016 02:45
Show Gist options
  • Save mingomax/9159c134075470d271b9cbea92800a28 to your computer and use it in GitHub Desktop.
Save mingomax/9159c134075470d271b9cbea92800a28 to your computer and use it in GitHub Desktop.
Options -MultiViews
RewriteBase /web
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule !\.(js|ico|gif|jpg|png|css|htm|html|txt|mp3)$ index.php [QSA,L]
RewriteRule .? - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
FallbackResource /index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment