Bug#240772: apache2-common: files in apache2-default should be in /var/www
Package: apache2-common
Version: 2.0.48-8
Severity: normal
When installing an apache2 mpm, the default document root is /var/www.
This is correct, but apache2-common doesn't put anything into /var/www,
other than the apache2-default subdirectory. People who then use apache
see a directory list, and get the "if you see this, the installation of
apache was successful" page if they go into the apache2-default
subdirectory.
Apache2-common should put at least an index.html into /var/www.
Obviously, you'll need to figure out how to get apache-common and
apache2-common to co-exist happily, with both wanting to put files into
/var/www.
Another alternative (and preferred, imo) is to split apache2-common and
apache-common out further; right now they contain both arch specific
binaries and arch-independant files. Why not make an apache-files (or
apache-data) package that contains the various icons (I'm not sure how
different /usr/share/apache2/icons is from the apache1 icons) and
/var/www files, and have the apache-common and apache2-common packages
contain binaries and apache-version-specific scripts? Both
apache-common and apache2-common could depend upon apache-files.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.4-1-686
Locale: LANG=C, LC_CTYPE=C
Versions of packages apache2-common depends on:
ii debconf 1.4.18 Debian configuration management sy
ii debianutils 2.8 Miscellaneous utilities specific t
ii libapr0 2.0.48-8 The Apache Portable Runtime
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii libldap2 2.1.26-1 OpenLDAP libraries
ii libmagic1 4.07-2 File type determination library us
ii libssl0.9.7 0.9.7d-1 SSL shared libraries
ii mime-support 3.26-1 MIME files 'mime.types' & 'mailcap
ii net-tools 1.60-9 The NET-3 networking toolkit
ii openssl 0.9.7d-1 Secure Socket Layer (SSL) binary a
ii ssl-cert 1.0-7 Simple debconf wrapper for openssl
ii zlib1g 1:1.2.1-5 compression library - runtime
-- no debconf information
Reply to: