Created
May 22, 2017 09:50
-
-
Save nanoninja/58e4500c055f79aa024aaf7c64c86277 to your computer and use it in GitHub Desktop.
Apache Rewrite Rules
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
# public/.htaccess | |
RewriteBase /mvc2/public | |
# NC == INSENSITIVE CASE | |
# L == LAST RULE | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} -s [OR] | |
RewriteCond %{REQUEST_FILENAME} -l [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^.*$ - [NC,L] | |
RewriteRule ^.*$ index.php [NC,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment