[pkg-lighttpd] Bug#471055: lighttpd: no-www.conf

Olaf van der Spek OlafvdSpek at GMail.Com
Sat Mar 15 14:08:07 UTC 2008


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" )
}

Could you include it?

Greetings,

Olaf

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lighttpd depends on:
ii  libattr1               1:2.4.41-1        Extended attribute shared library
ii  libbz2-1.0             1.0.4-4           high-quality block-sorting file co
ii  libc6                  2.7-9             GNU C Library: Shared libraries
ii  libfam0                2.7.0-13.1        Client library to control the FAM 
ii  libldap-2.4-2          2.4.7-6.1         OpenLDAP libraries
ii  libpcre3               7.6-2             Perl 5 Compatible Regular Expressi
ii  libssl0.9.8            0.9.8g-7          SSL shared libraries
ii  libterm-readline-perl- 1.0302-1          Perl implementation of Readline li
ii  lsb-base               3.2-4             Linux Standard Base 3.2 init scrip
ii  mime-support           3.40-1.1          MIME files 'mime.types' & 'mailcap
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

lighttpd recommends no packages.

-- no debconf information





More information about the pkg-lighttpd-maintainers mailing list