Last active
March 25, 2017 12:46
-
-
Save bulfaitelo/0314a0cef3fc0405ab14c7098c38df0f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable rewrite engine and route requests to framework | |
RewriteEngine On | |
# Some servers require you to specify the `RewriteBase` directive | |
# In such cases, it should be the path (relative to the document root) | |
# containing this .htaccess file | |
# RewriteBase / | |
RewriteRule ^(tmp)\/|\.ini$ - [R=404] | |
RewriteCond %{REQUEST_FILENAME} !-l | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule .* index.php [L,QSA] | |
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment