Skip to content

Instantly share code, notes, and snippets.

@madx
Created January 5, 2009 14:41
Show Gist options
  • Save madx/43414 to your computer and use it in GitHub Desktop.
Save madx/43414 to your computer and use it in GitHub Desktop.
$HTTP["host"] == "yapok.org" {
server.document-root = "/home/madx/yapok.org/"
$HTTP["url"] =~ "^/.*" {
expire.url = ("" => "access plus 10 years")
}
}
$HTTP["host"] == "www.yapok.org" {
url.redirect = ( "^/(.*)" => "http://yapok.org/$1" )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment