$HTTP["host"] =~ "^www\.(.*)" { url.redirect = ( "^/(.*)" => "http://%1/$1" ) }
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Lighttpd redirect www to no www (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» Redirect domain.com requests... in lighttpd rewrite hosts redirect
» www to no-www, and vice-versa in redirect modrewrite htacess www
» Common Lighttpd rewrite requ... in lighttpd rewrite domain www lighty
» My lighttpd php-fastcgi conf... in php fastcgi lighttpd
» Automatic sub-domains with l... in lighttpd virtualhosting subdomains mod_evhost
» Typo under lighttpd in lighttpd ruby rails typo ruby-fcgi
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails