Skip to content

Instantly share code, notes, and snippets.

@deletosh
Created May 23, 2012 01:07
Show Gist options
  • Save deletosh/2772659 to your computer and use it in GitHub Desktop.
Save deletosh/2772659 to your computer and use it in GitHub Desktop.
RewriteEngine On
RewriteBase /
RewriteRule ^(application|modules|system) - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment