Forum Moderators: phranque

Message Too Old, No Replies

Apache ssl problems

Server forcing ssl connection?

         

wheel

12:24 pm on May 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm setting up a new server to upgrade my current server. I'm running apache2 on both old and new servers. For some reason it seems that apache is forcing an ssl connection, even for regular http connections (could be wrong, but that's what it seems like)

I installed apache right off the mandrake CD's to the new machine. Then I copied my httpd.conf, httpd2.conf, commonhttpd.conf and Vhosts.conf files.

With any connection to the new machine, I get:
---------------
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Hint: [#*$!xxxx.com...]
Apache-AdvancedExtranetServer Server at www.ixxxxxx.com Port 443
---------------------------

There's something that's in Vhosts.conf that's triggering this (though I don't believe it's the source of the problem).

If I set up this:
NameVirtualHost 10.0.22.58
<VirtualHost 10.0.22.58>
stuff here
</VirtualHost>

Apache serves the web pages as expected (I think there are still problems with ssl, but the regular pages look fine).

If instead I do this - which is the way my Vhosts is currently set up:
NameVirtualHost *
<VirtualHost *>
stuff here
</VirtualHost>

Then I see the 400 page noted above.

I'm pretty sure I've got some sort of ssl config problem. Not sure where to start looking. Possibly I haven't installed the right modules or something.

Any suggestions on places to start looking?