[pkg-lighttpd] Bug#387066: lighttpd.conf eats /images

Uwe A. P. Wuerdinger dj_doc at gmx.net
Mon Sep 11 04:40:28 UTC 2006


Package: lighttpd
Version: 1.4.11-2bpo1
Severity: important


While evaluating lighttpd for possibly replacing our apache(2) installitions
I noticed that the line

"/images/" => "/usr/share/images/"

in /etc/lighttpd.conf

was eating alle /images sub urls on all installations

so wikimedia, joomla and a couple of other web packages wern't working as
expected. Commenting out sayed line made lighttpd behave as expected (but breaks debian policy).

Looks like the alias rule works globaly for all hosts and not only for
localhost.

$HTTP["host"] == "localhost" {
        global {
                alias.url += (
                        "/doc/" => "/usr/share/doc/",
                        "/images/" => "/usr/share/images/"
                )
        }
        dir-listing.activate = "enable"
}
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages lighttpd depends on:
ii  libbz2-1.0            1.0.2-7            high-quality block-sorting file co
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libldap2              2.1.30-8           OpenLDAP libraries
ii  libpcre3              4.5-1.2sarge1      Perl 5 Compatible Regular Expressi
ii  libssl0.9.7           0.9.7e-3sarge1     SSL shared libraries
ii  lsb-base              3.1-9bpo1          Linux Standard Base 3.1 init scrip
ii  mime-support          3.28-1             MIME files 'mime.types' & 'mailcap
ii  zlib1g                1:1.2.2-4.sarge.2  compression library - runtime

-- no debconf information




More information about the pkg-lighttpd-maintainers mailing list