In Apache2 template site use <Virtualhost *:80> rather than <Virtualhost *>
Bug #137526 reported by
AlainKnaff
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Invalid
|
Wishlist
|
Ralph Janke |
Bug Description
Binary package hint: apache-common
The default site in /etc/apache2/
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>
Changed in apache2: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Thank you for your suggestion. However, the changes you are requesting aren't really a bug and require more discussion, which should be done on an appropriate mailing list or forum. http:// www.ubuntu. com/support/ community/ mailinglists might be a good start for determining which mailing list to use.
It seems this suggestion has two sides. On one hand, if the changes will be made, it is easier to add the ssl option. On the other hand, if the changes are made, and someone adds another port to which apache is listening, or changes the port, the default site does not capture those.
Thanks