So I have Apache 2 installed on Scummbox.org right now, and I wanted to get away from using Zone Edit‘s URL forward (way too many hops) so I took a friends suggestion and started playing with Apache’s Virtual Hosts.
I erased the blog.scummbox.org URL forward at Zone Edit, and created (after several syntax problems) a virtual host. I *thought* it worked, but it turns out the DNS hadn’t cleared for the forward from Zone Edit yet. Boo-urns.
I also tried creating a virtual host for my girlfriend’s blog, and that is when everything went a very annoying way.
I started getting Error 400 pages about SSL of all things. All the online man pages for Apache didn’t say ANYTHING about a SSL issue with named virtual hosts, so I deleted and recreated those hosts about a million ways. via Vhosts.conf, directly in http2.conf, via Webmin’s Apache configuration… nothing.
Then I found this page wich stated:
Do not use name-based virtual hosts in conjunction with a secure Web server as the SSL handshake occurs before the HTTP request identifies the appropriate name-based virtual host. Name-based virtual hosts only work with the non-secure Web server.
Well, damn. I should have been searching for “apache 2.0 virtual hosts” on Google’s linux search.
so it was rpm -e apache-mod_ssl and now the virtual host for blog.scummbox.org works perfectly
I still have to tweak the Movable Type config for iolarah’s blog, as Movable Type doesn’t render properly through the virtual host until I tell it to for some reason.
It’s so awesome having the ability to create virtual hosts at will. Muy Bueno!