User Tools

Site Tools


wiki:lighttpd_url_redirect

lighttpd url redirect

# Redirect domain from .com to .org
$HTTP["host"] =~ "^my\.example\.com" {
  url.redirect = ( "^/(.*)" => "http://my.example.org/$1" )
}

Tested on

See also

References

wiki/lighttpd_url_redirect.txt · Last modified: 2022/10/03 12:11 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki