--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apache2.2-common: Upgrade removes my web site, replaces it with a page saying "it works"
- From: Matthew Wakeling <matthew@wakeling.homeip.net>
- Date: Fri, 08 Dec 2006 16:35:38 +0000
- Message-id: <20061208163538.27529.43996.reportbug@wakeling.homeip.net>
Package: apache2.2-common
Version: 2.2.3-3.1
Severity: important
This report is very similar to #396782. When I originally installed apache, I replaced the contents of /var/www with my web site, and it worked fine. However, the latest version installed a default site at /etc/apache2/sites-enabled/000-default which contained a redirect from "/" to "/apache2-default/", thus replacing my main web site with the default page, without warning me. I myself did not notice until a friend pointed it out, because I used bookmarks to deeper parts of the site, which were still up.
If the default apache config must have a redirect to the default page, it should at least be conditional on there being no index.html (or similar) present in /var/www. This would prevent people's web sites being replaced.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-amd64
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages apache2.2-common depends on:
ii apache2-utils 2.2.3-3.1 utility programs for webservers
ii libmagic1 4.17-4 File type determination library us
ii lsb-base 3.1-22 Linux Standard Base 3.1 init scrip
ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap
ii net-tools 1.60-17 The NET-3 networking toolkit
apache2.2-common recommends no packages.
-- no debconf information
--- End Message ---