[Bug 137526] [NEW] In Apache2 template site use <Virtualhost *:80> rather than <Virtualhost *>

Launchpad Bug Tracker 137526 at bugs.launchpad.net
Thu Mar 27 10:08:59 GMT 2008


You have been subscribed to a public bug:

Binary package hint: apache-common

The default site in /etc/apache2/sites-available/default sets the
default virtual virtual host as follows:

NameVirtualHost *
<VirtualHost *>
  ...
</VirtualHost>

This is all fine and dandy as long as there is no SSL site.

However, if there is, this will result in the following error:

VirtualHost *:443 -- mixing * ports and non-* ports with a
NameVirtualHost address is not supported, proceeding with undefined
results

Also specifying the port (80) for the default site (as well as any non-
SSL sites) makes this problem go away.

NameVirtualHost *:80
<VirtualHost *:80>
  ...
</VirtualHost>

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
In Apache2 template site use <Virtualhost  *:80> rather than <Virtualhost  *>
https://bugs.edge.launchpad.net/bugs/137526
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu.



More information about the Ubuntu-server-bugs mailing list