[linux] Apache and VirtualHost running SSL

Peter Abrahamsen peidran at u.washington.edu
Tue Sep 23 19:28:00 PDT 2003

Look at each of your VirtualHost specifications, e.g.:

<VirtualHost www.foo.bar:80>

Make sure that each says either 80 or 443, and none says *. If there is a
VirtualHost with *, you might want to duplicate the declaration, once with
port 80 and once with 443 (and the SSL engine on, etc).

If someone knows a better way to get around this, please correct me.


On Tue, Sep 23, 2003 at 04:48:48PM -0700, Doug McLean wrote:

> Hi guys,


> We have an Apache server running on the latest RedHat version with two

> ethernet interfaces (one is the real thing, and the other is a virtual

> interface with its own IP). In addition, Apache has the regular website

> and another virtual host one tied to the virtual ethernet interface.


> Apache is the latest 2.x version.


> Anyhow, after installing the mod_ssl rpm and restarting Apache, I get

> this error message:


> Stopping httpd: [ OK ]

> Starting httpd: [Tue Sep 23 14:39:08 2003] [error] VirtualHost

> _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost

> address is not supported, proceeding with undefined results

> [ OK ]


> I have a vague idea what's wrong, but I am not sure how best to fix it.

> Any suggestions are great appreciated. Thanks!


> --

> Doug McLean

> Department of Microbiology

> http://faculty.washington.edu/dougmc

> PGP Public Key ID# 0xB9142AD7



Peter Abrahamsen Seattle, Washington, USA
CEP, Phil, iSchool http://www.abrahamsen.com/peter/
University of Washington 206.525.2702 (home)
Consensus reality - did you vote for it?

More information about the Linux mailing list