Moving from a single Apache2 Domain to Virtual Hosts

Started by Lev, April 23, 2004, 07:48:34 PM

Previous topic - Next topic

Lev

I can get the front HTTP login pages to work, but seem to be having problems connecting to anything via HTTPS. Is there something that I need to be changing in ssl.conf or is reinstalling my only option?

Full disclaimer: I'm not much of an admin.

Lev

I just reset my httpd.conf and ssl.conf back to my last 'known good' and I'm still getting the same connection refused for HTTPS connections, so obviously it's something else. I haven't used this box in probably about a month, so something must have borked. Oops!

Jim_Keller

You can't vhost https (unless something's changed in Apache2 to allow it).  You can only have one secure http host per IP. Meaning if you have the ip 192.168.1.295, you can have any number of virtual hosts running, but only 1 secure host on that particular IP. Not sure if this is your problem, but I thought it'd be worth mentioning.

Lev

Basically, what happened was that I didn't realize that restarting apache with apachctl require a specific "apachectl -D SSL" to kickstart the HTTPS. Once I figure that out, everything was dandy.