Skip to content

Instantly share code, notes, and snippets.

@rlmattax
Created July 10, 2012 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rlmattax/3084374 to your computer and use it in GitHub Desktop.
Save rlmattax/3084374 to your computer and use it in GitHub Desktop.
.htaccess
Options -MultiViews
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
# DEFAULT APP
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?req=$1 [L,QSA]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment