Apache + Mod SSL driving me bonkers
Hey everyone,
I just wondered if somebody who knows a little about apache and ssl would give me a hand with my problem. I have an apache 2 server running on a redhat 8 machine that has been working fine (running about 3-4 virutal hosts) for a few months now.
I wanted to try out a program that needed a https server, so I would really like to run the https server as just a virtualhost on the server i already have.
I am sure that my SSL certs are all set-up properly, and mod-ssl is all working, but I seem to be having trouble.
When I set SSLEngine On in the virtual host that I created (port 443) for my new https server, it works fine, but all the other virtual hosts give me a bad request (http error 400) when i try to view them, and they try to push me to an https version of the page (like if the virtual host were normally accessed by http--- after turning on SSLEngine, it makes me go to https--- which really isn't very handy).
I've found some information online about Port and Listen commands, but the port commmands aren't compatible with the newer versions of Apache. Is what I am trying to do actually possible? According to the mod_ssl documentation, it is, but it doesn't go into any detail at all.
Thanks for any assistance you can provide,
Hjunk86
|