This will redirect http://domin.com to http://www.domain.com/ with 301 code
$HTTP["host"] == "domain.com" {
url.redirect = ( "^/(.*)" => "http://www.domain.com/$1" )
}
Subscribe to:
Post Comments (Atom)
this is the place i use for my notes. My interests are Linux system administration, php programming, postgresql server, emacs and lighttpd.
No comments:
Post a Comment