Package: lighttpd Version: 1.4.31-1 Severity: important Stock /etc/lighttpd/lighttpd.conf configuration file as packaged in Squeeze contains these lines (uncommented):
dir-listing.encoding = "utf-8" server.dir-listing = "enable" In the new version, packaged with Wheezy, this snippet has been moved to its own configuration file, /etc/lighttpd/conf-available/10-dir-listing.conf and the user now is supposed to explicitly enable this module (mod_dirlisting) by running # lighty-enable-mod dir-listing While I think this change is generally a good idea, upgrading to Wheezy broke the directory listing behaviour for me as the mentioned configuration file wasn't symlinked under /etc/lighttpd/conf-enabled/ automatically for me. >From comparing the lists of Squeeze and Wheezy lighttpd packages, I gather that the mod_dirlisting configuration has been "modularized" when preparing the new package. Hence I propose that at least this change in behaviour should be mentioned in NEWS.Debian. Ideally though, the upgrading script should attempt to parse the existing configuration file to gather if the user has mod_dirlisting enabled and if so, replace the contents of /etc/lighttpd/conf-available/10-dir-listing.conf with the extracted values and then symlink it under the /etc/lighttpd/conf-enabled/ directory. If the user has the server.dir-listing directive commented out, no action could be taken. Unfortunately, the case of the user having the dir-listing.encoding option uncommented and changed from the default value, and the server.dir-listing option commented out is also possible. I attached my Squeeze configuration file just in case. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (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/dash Versions of packages lighttpd depends on: ii libattr1 1:2.4.46-8 ii libbz2-1.0 1.0.6-3 ii libc6 2.13-33 ii libgamin0 [libfam0] 0.1.10-4 ii libldap-2.4-2 2.4.28-1.1 ii libpcre3 1:8.30-5 ii libssl1.0.0 1.0.1c-3 ii libterm-readline-perl-perl 1.0303-1 ii lsb-base 4.1+Debian7 ii mime-support 3.52-1 ii perl 5.14.2-12 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages lighttpd recommends: pn spawn-fcgi <none> Versions of packages lighttpd suggests: pn apache2-utils <none> ii openssl 1.0.1c-3 pn rrdtool <none> -- no debconf information
lighttpd.conf.dpkg-old.gz
Description: GNU Zip compressed data