Skip to content

Instantly share code, notes, and snippets.

@rmax
Created January 2, 2010 18:48
Show Gist options
  • Save rmax/267608 to your computer and use it in GitHub Desktop.
Save rmax/267608 to your computer and use it in GitHub Desktop.
RewriteEngine On
RewriteBase /test
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ test.php?path=$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment