Skip to content

Instantly share code, notes, and snippets.

@blister
Created May 6, 2010 20:16
Show Gist options
  • Save blister/392651 to your computer and use it in GitHub Desktop.
Save blister/392651 to your computer and use it in GitHub Desktop.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.) /index.php?path=$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment