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

Bug#155359: apache2-common: I don't like Servername=localhost in default site config



Package: apache2-common
Version: 2.0.37-2
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think the behavier of the 'old' apache paket was better were the apache did a
reserve lookup to find its hostname.

- From the the docu:

If no ServerName is specified, then the server attempts to deduce the hostname by performing a reverse lookup on the IP address. If no port is specified in the servername, then the server will use the port from the incoming request. For optimal reliability and predictability, you should specify an explicit hostname and port using the ServerName directive.

But I would suggest to use hostname -f, /etc/hostname or prompt the user for a
hostname, but Servername=localhost is not good. I already had trouble with it.

Arne
- -- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux r2d2 2.4.18-xfs-1.1 #2 Sun Jul 21 16:44:53 CEST 2002 i686
Locale: LANG=de_DE, LC_CTYPE=de_DE

Versions of packages apache2-common depends on:
ii  debconf                       1.0.32     Debian configuration management sy
ii  debianutils                   1.16.3     Miscellaneous utilities specific t
ii  libapr0                       2.0.37-2   The Apache Portable Runtime
ii  libc6                         2.2.5-12   GNU C Library: Shared libraries an
ii  libexpat1                     1.95.2-6   XML parsing C library - runtime li
ii  libssl0.9.6                   0.9.6d-1   SSL shared libraries
ii  libssl0.9.6 [libssl096]       0.9.6d-1   SSL shared libraries
pn  libssl096                                Not found.
ii  zlib1g                        1:1.1.4-2  compression library - runtime

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9TGOze8+cMNS4zRcRAhqNAJwPS6qNFHLWRyj5pfmIBGSENdJ32QCguN1B
NkKJ8sJk2tJJ0C/WCfxKM4I=
=4nYe
-----END PGP SIGNATURE-----



Reply to: