Skip to content

Instantly share code, notes, and snippets.

@thoraxe
Created April 12, 2014 20:38
Show Gist options
  • Save thoraxe/10555712 to your computer and use it in GitHub Desktop.
Save thoraxe/10555712 to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
@thoraxe
Copy link
Author

thoraxe commented Apr 12, 2014

<IfModule mod_dir.c>
FallbackResource /index.php
</IfModule>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment