Bug#214728: apache-common: virtual hosts causes documentroot duplication and restart failure
Package: apache-common
Version: 1.3.28-1
Severity: important
Tags: sid
I have an Apache configuration that has two virtual hosts in httpd.conf
(one of which is SSL), when configure process is run the DocumentRoot
settings are changed. What happens is that both directories are listed
on both virtual hosts DocumentRoot lines.
I have a default DocumentRoot pointing to /var/www and
<VirtualHost _default_:443>
DocumentRoot /var/www
...
</VirtualHost>
When dpkg -a --configure is run (as dist-upgrade fails) then both
DocumentRoot lines are changed to
DocumentRoot /var/www /var/www
Changing one of them to /var/xxx then produces
DocumentRoot /var/xxx /var/www
Apache fails to start as the configuration is invalid.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux atropos 2.4.21 #2 Mon Jun 16 20:06:22 EST 2003 i686
Locale: LANG=en_AU, LC_CTYPE=en_AU
Versions of packages apache-common depends on:
ii debconf 1.3.14 Debian configuration management sy
ii libc6 2.3.2-8 GNU C Library: Shared libraries an
ii libdb4.1 4.1.25-9 Berkeley v4.1 Database Libraries [
ii libexpat1 1.95.6-6 XML parsing C library - runtime li
ii mime-support 3.23-1 MIME files 'mime.types' & 'mailcap
ii perl [perl5] 5.8.1-2 Larry Wall's Practical Extraction
-- debconf information:
apache-common/logs:
* apache-common/confignotes:
apache-shared/restart: false
apache-shared/debconf-modules: mod_env, mod_log_config, mod_mime_magic, mod_mime, mod_negotiation, mod_status, mod_autoindex, mod_dir, mod_cgi, mod_userdir, mod_alias, mod_rewrite, mod_access, mod_auth, mod_expires, mod_unique_id, mod_setenvif, mod_jk, mod_ssl, mod_php4
apache-common/old-logrotate-exists:
Reply to: