MDK 9.1 & Virtual Hosts
I've been running NAME virtual hosts with Apache 1.3.x with no fuss, but I'm having problems with the new 2.0.x version, DNS is running fine.
I read the manual and configured as it says, but I keep getting a Bad Request message because it says that it serves HTTPS pages and it was a HTTP request.
Haven't modified anything but the Vhosts.conf file with the following
NameVirtualHost *
<VirtualHost *>
ServerName mybox.mydomain.com
DocumentRoot /var/www/html
CustomLog /var/log/httpd/access_log combined
ErrorLog /var/log/httpd/error_log
</VirtualHost>
<VirtualHost *>
ServerName testing.otherdomain.com
DocumentRoot /var/www/testing
CustomLog /var/log/httpd/testing-access_log combined
ErrorLog /var/log/httpd/testing-error_log
</VirtualHost>
|