[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#253271: apache2-common: changing port was problematic



Package: apache2-common
Version: 2.0.49-1
Severity: minor

The default virtual host stopped working when I changed to a nonstandard
listen port in /etc/apache2/ports.conf

As I didn't know apache2 configuration well, finding and fixing the
problem was difficult. The server started, home directories were
available, /var/log/apache/error.log got messages. However, access.log
didn't get messages, and ServerRoot was nonexistent "/htdocs"

As a fix, I removed from /etc/apache2/sites-available/default the ":80"
strings of virtual host configuration. I have no idea whether this would
be desirable in the file shipped by Debian -- in
http://httpd.apache.org/docs-2.0/vhosts/examples.html I see several
possibilities. An alternative would be to note in ports.conf about this
other file to be changed to keep a consistent configuration.


With best regards,
Tuukka Hastrup

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-686
Locale: LANG=sv_SE.ISO-8859-15, LC_CTYPE=sv_SE.ISO-8859-15

Versions of packages apache2-common depends on:
ii  debconf                     1.4.25       Debian configuration management sy
ii  debianutils                 2.8.2        Miscellaneous utilities specific t
ii  libapr0                     2.0.49-1     The Apache Portable Runtime
ii  libc6                       2.3.2.ds1-12 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.23-1     OpenLDAP libraries
ii  libmagic1                   4.07-2       File type determination library us
ii  libssl0.9.7                 0.9.7d-3     SSL shared libraries
ii  mime-support                3.26-1       MIME files 'mime.types' & 'mailcap
ii  net-tools                   1.60-10      The NET-3 networking toolkit
ii  openssl                     0.9.7d-3     Secure Socket Layer (SSL) binary a
ii  ssl-cert                    1.0-7        Simple debconf wrapper for openssl
ii  zlib1g                      1:1.2.1.1-3  compression library - runtime

-- no debconf information



Reply to: