Skip to content

Instantly share code, notes, and snippets.

@nsanden
Created May 10, 2013 02:17
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 nsanden/5551989 to your computer and use it in GitHub Desktop.
Save nsanden/5551989 to your computer and use it in GitHub Desktop.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php/$1 [L,QSA]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment