Skip to content

Instantly share code, notes, and snippets.

@spoletto
Created May 15, 2012 22:03
Show Gist options
  • Save spoletto/2705489 to your computer and use it in GitHub Desktop.
Save spoletto/2705489 to your computer and use it in GitHub Desktop.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.+) bills.php?id=$1 [L]
ErrorDocument 404 /404.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment