Apache Odd Errors with HTTPS and NameVirtualHosts

The Warden's picture

He has: 9 posts

Joined: Sep 2002

Hi I'm getting the following errors when trying to use HTTPS. Yes I have SSL started. I've tried doing this with "apachectl startssl" and with "httpd -DSSL". When I try to access HTTP on Port 43 it works fine, but if I use HTTPS on Port 443 it dies with the below errors. HTTP with port 80 works fine. So it seems HTTPS is trying to use HTTP.

I'm running Apache v1.3.29 using mod_rewrite, PHP and MySQL on OpenBSD v3.7 i386.

ACCESS_LOG
"\x80g\x01\x03" 501

ERROR_LOG
Invalid method in request \\x80g\\x01\\x03

At startup of Apache I get a warning notice of "[warn] NameVirtualHost xxx.xxx.xxx.xxx:443 has no VirtualHosts".

I have two virtual hosts for port 80 based on IP to ServerName. I then have one virtual host for SSL port 443. I have "NameVirtualHost xxx.xxx.xxx.xxx:80" and
"NameVirtualHost xxx.xxx.xxx.xxx:443".

Any ideas or suggestions how to resolve these problems would be much appreciated.

Thanks.