The Network People Support Forums

Mail::Toaster => Configuration Issues => Topic started by: Lev on April 23, 2004, 07:48:34 PM

Title: Moving from a single Apache2 Domain to Virtual Hosts
Post by: Lev on April 23, 2004, 07:48:34 PM
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.
Title: Moving from a single Apache2 Domain to Virtual Hosts
Post by: Lev on April 23, 2004, 07:52:51 PM
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!
Title: Moving from a single Apache2 Domain to Virtual Hosts
Post by: Jim_Keller on April 24, 2004, 09:02:49 PM
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.
Title: Moving from a single Apache2 Domain to Virtual Hosts
Post by: Lev on April 24, 2004, 09:09:30 PM
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.