httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Trivial Update of "CommonMisconfigurations" by JamieKitson
Date Wed, 23 Jun 2010 16:14:18 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "CommonMisconfigurations" page has been changed by JamieKitson.
http://wiki.apache.org/httpd/CommonMisconfigurations?action=diff&rev1=7&rev2=8

--------------------------------------------------

  
  In the case of multiple Listen directives, Apache will bind to port 80 the first time and
then try to bind to port 80 a second time. This yields a nice "Could not bind to port" error
on start up. This seems to happen with newbies and Debian based distros, where Debian based
distros have Listen 80 defined in ports.conf. Newbies don't realize this and create another
Listen 80 line in apache2.conf.<<BR>><<BR>>
  
- Multiple !NameVirtualHost lines will yield a "!NameVirtualHost *:80 has no !VirtualHosts"
warning. Apache will ignore the second directive and use the first defined !NameVirtualHost
line, though. This seems to happen when one is using multiple virtual host configuration files
and doesn't understand that you only need to define a particular !NameVirtualHost line once.<<BR>><<BR>>
+ Multiple !NameVirtualHost lines will yield a "!NameVirtualHost *:80 has no !VirtualHosts"
warning. Apache will ignore the second directive and use the first defined !NameVirtualHost
line, though. This seems to happen when one is using multiple virtual host configuration files
and doesn't understand that you only need to define a particular !NameVirtualHost line once.
As above, this can occur in the debian ports.conf file, especially after an upgrade.<<BR>><<BR>>
  
  ==== Multiple SSL name based virtual hosts on the same interface. ====
  Example:

Mime
View raw message