Created
November 29, 2010 07:09
-
-
Save quilime/719679 to your computer and use it in GitHub Desktop.
.htaccess for web applications
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
# Pass existing files, symlinks, directories through like normal | |
RewriteCond %{REQUEST_FILENAME} -f [OR] | |
RewriteCond %{REQUEST_FILENAME} -l [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^.*$ - [NC,L] | |
# Pass everything else to the application | |
RewriteRule ^.*$ application.php [NC,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment