Skip to content

Instantly share code, notes, and snippets.

@alexamiryan
Created January 11, 2010 19:04
Show Gist options
  • Save alexamiryan/274484 to your computer and use it in GitHub Desktop.
Save alexamiryan/274484 to your computer and use it in GitHub Desktop.
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