[pkg-lighttpd] Bug#345554: lighttpd: This bug is not fixed

Sylvain Le Gall gildor at debian.org
Mon Nov 13 01:43:37 CET 2006


Package: lighttpd
Version: 1.4.13-4
Followup-For: Bug #345554

Hello,

When trying to use lighttpd, i encounter this bugs. It is a bit strange,
because only "localhost" address doesn't work. If you use 127.0.0.1 or
your own hostname, there is no problem.

The problem arise from the following lines in
/etc/lighttpd/conf-available/10-cgi:
$HTTP["host"]  == "localhost" {
       alias.url       += ( "/cgi-bin/" => "/usr/lib/cgi-bin/" )
       $HTTP["url"] =~ "/cgi-bin/" {
               cgi.assign = ( "" => "" )
       }
}

If you comment it, it works perfectly.

Kind regard
Sylvain Le Gall

ps: as far as i can understand, this lines are anyway unusefull, since,
all what they do conditionnaly, are done uncondiationnally in the line
surrounding it :


alias.url       += ( "/cgi-bin/" => "/usr/lib/cgi-bin/" )

#$HTTP["host"]  == "localhost" {
#       alias.url       += ( "/cgi-bin/" => "/usr/lib/cgi-bin/" )
#       $HTTP["url"] =~ "/cgi-bin/" {
#               cgi.assign = ( "" => "" )
#       }
#}

$HTTP["url"] =~ "/cgi-bin/" {
        cgi.assign = ( "" => "" )
}

pps: reading other configuration, seems to suggest that you should use
["remoteip"] =~ "127.0.0.1" in place of ["host"] == "localhost"... which
will have made my error more permanent ;-)

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-486
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages lighttpd depends on:
ii  libattr1                     2.4.32-1    Extended attribute shared library
ii  libbz2-1.0                   1.0.3-6     high-quality block-sorting file co
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libldap2                     2.1.30-13.2 OpenLDAP libraries
ii  libpcre3                     6.7-1       Perl 5 Compatible Regular Expressi
ii  libssl0.9.8                  0.9.8c-3    SSL shared libraries
ii  lsb-base                     3.1-19      Linux Standard Base 3.1 init scrip
ii  mime-support                 3.37-1      MIME files 'mime.types' & 'mailcap
ii  zlib1g                       1:1.2.3-13  compression library - runtime

Versions of packages lighttpd recommends:
pn  php4-cgi | php5-cgi           <none>     (no description available)

-- no debconf information




More information about the pkg-lighttpd-maintainers mailing list