Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
working url rewrite for drupal under lighttpd
# working url rewrite for drupal under lighttpd
# taken from http://drupal.org/node/20766#comment-44462
url.rewrite-final = (
"^/system/test/(.*)$" => "/index.php?q=system/test/$1",
"^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2",
"^/([^.?]*)$" => "/index.php?q=$1"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment