Skip to content

Instantly share code, notes, and snippets.

@HKLF4
Created August 21, 2012 13:35
Show Gist options
  • Save HKLF4/3415463 to your computer and use it in GitHub Desktop.
Save HKLF4/3415463 to your computer and use it in GitHub Desktop.
esoTalk: Lighttpd rewrite rules
# http://example.org
$HTTP["host"] == "example.org" {
url.rewrite-if-not-file = ( "^/([^.]+)$" => "/index.php/$1" )
}
#http://example.org/forum
$HTTP["host"] == "example.org" {
url.rewrite-if-not-file = ( "^/forum/([^.]+)$" => "forum/index.php/$1" )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment