Created
July 31, 2017 16:49
-
-
Save adrian-ortega/3df6910a7f21684e9bd1f7b45be23479 to your computer and use it in GitHub Desktop.
A simple .htaccess file to be used with PHP MVC applications like Slim, Codeigniter and custom creations
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
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment