Created
January 28, 2016 13:13
-
-
Save hndr91/fad88b1065ba54a6041e to your computer and use it in GitHub Desktop.
.htaccess Slim with RewriteBase
This file contains 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
RewriteEngine On | |
# Some hosts may require you to use the `RewriteBase` directive. | |
# If you need to use the `RewriteBase` directive, it should be the | |
# absolute physical path to the directory that contains this htaccess file. | |
# | |
RewriteBase /slim | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^ index.php [QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment