[pkg-lighttpd] Bug#620934: Default index.lighttpd.html placeholder page does not load

Troy Reynolds troy at y0b.org
Tue Apr 5 05:46:58 UTC 2011


Package: lighttpd
Version: 1.4.28-2
Severity: minor


The index.lighttpd.html placeholder page does not work on a new Debian
install.

Steps to reproduce this problem:
Fresh install of Debian 6
apt-get install lighttpd
http://localhost

Rather than the default placeholder page you will see a directory listing.

Fix:
There is a typo in /etc/lighttpd/lighttpd.conf under index-file.names
A space in front of the file name is present that should not be there.
" index.lighttpd.html" should be "index.lighttpd.html".

Once corrected and stop/start lighttpd the placeholder page works.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-linode31 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lighttpd depends on:
ii  libattr1                1:2.4.44-2       Extended attribute shared library
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libfam0                 2.7.0-17         Client library to control the FAM 
ii  libldap-2.4-2           2.4.23-7         OpenLDAP libraries
ii  libpcre3                8.02-1.1         Perl 5 Compatible Regular Expressi
ii  libssl0.9.8             0.9.8o-4squeeze1 SSL shared libraries
ii  libterm-readline-perl-p 1.0303-1         Perl implementation of Readline li
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  mime-support            3.48-1           MIME files 'mime.types' & 'mailcap
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages lighttpd recommends:
ii  spawn-fcgi                    1.6.3-1    A fastcgi process spawner

Versions of packages lighttpd suggests:
pn  apache2-utils           <none>           (no description available)
ii  openssl                 0.9.8o-4squeeze1 Secure Socket Layer (SSL) binary a
pn  rrdtool                 <none>           (no description available)

-- Configuration Files:
/etc/lighttpd/lighttpd.conf changed:
server.modules = (
	"mod_access",
	"mod_alias",
	"mod_compress",
 	"mod_redirect",
)
server.document-root        = "/var/www"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"
index-file.names            = ( "index.php", "index.html",
                                "index.htm", "default.htm",
                               "index.lighttpd.html" )
url.access-deny             = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
include_shell "/usr/share/lighttpd/use-ipv6.pl"
dir-listing.encoding        = "utf-8"
server.dir-listing          = "enable"
compress.cache-dir          = "/var/cache/lighttpd/compress/"
compress.filetype           = ( "application/x-javascript", "text/css", "text/html", "text/plain" )
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"


-- no debconf information





More information about the pkg-lighttpd-maintainers mailing list