Skip to content

Instantly share code, notes, and snippets.

@rentzsch
Created November 19, 2009 21:22
Show Gist options
  • Save rentzsch/239058 to your computer and use it in GitHub Desktop.
Save rentzsch/239058 to your computer and use it in GitHub Desktop.
RewriteEngine On
#RewriteLogLevel 2
#RewriteLog /var/log/apache2/rewrite.log
#RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ^(.*)$ /displayPage.php?path=$1&%1 [L,PT]
RewriteRule ^(.*)$ /displayPage.php?path=$1 [L,PT]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment