[pkg-lighttpd] Bug#471055: Bug#471055: lighttpd: no-www.conf
Pierre Habouzit
madcoder at debian.org
Sun Mar 16 10:50:00 UTC 2008
tag 471055 + wontfix
thanks
On sam, mar 15, 2008 at 02:08:07 +0000, Olaf van der Spek wrote:
> Package: lighttpd
> Version: 1.4.18-4
> Severity: wishlist
>
> Hi,
>
> To avoid a site being available via multiple URLs (domain.net and www.domain.net), the following script can be used:
> no-www.conf:
> $HTTP["host"] =~ "^www\.(.*)" {
> url.redirect = ( "^/(.*)" => "http://%1/$1" )
> }
this is a configuration trick that isn't really useful for everyone.
It has its place on wiki.lighttpd.net (or any alike place), but the
lighttpd package is not a configuration snipplets zoo.
--
·O· Pierre Habouzit
··O madcoder at debian.org
OOO http://www.madism.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20080316/bf7dac8e/attachment.pgp
More information about the pkg-lighttpd-maintainers
mailing list