Hi Group,
I'm having trouble getting Virtual Hosts to work on my Mandrake 9,1 box. I'm
using the Advx release of Apache for Mandrake, and it switches between 1.3x
and 2.0.x (currently 2.0.44) by executing one of two scripts. I've followed
a lot of the vhost posts, and I've tried David Bianchi's suggestions to use
"*" in the NameVirtualHost and the <VirtualHost...> lines. This works fine
when I'm running the 1.3 release, but when I switch to the 2.x release, I
get the following:
http://brighton2002.pghdaniel.net
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Hint:
https://gandalf.pghdaniel.net/
Apache-AdvancedExtranetServer/2.0.44 (Mandrake Linux/11mdk)
mod_perl/1.99_08 Perl/v5.8.0 auth_external/2.2.1 auth_mysql/1.11
mod_layout/4.0.1a mod_ssl/2.0.44 OpenSSL/0.9.7a DAV/2 PHP/4.3.1
mod_auth_remote/1.0 Server at gandalf.pghdaniel.net Port 443
Here's a copy of my Vhosts.conf file:
#</VirtualHost>
NameVirtualHost *
<VirtualHost *>
ServerName pghdaniel.net
DocumentRoot /var/www/html
ServerPath /var/www
ServerAdmin alan.TakeThisOut@pghdaniel.net
</VirtualHost>
<VirtualHost *>
ServerName
www.pghdaniel.net
DocumentRoot /var/www/html
ServerAdmin alan.TakeThisOut@pghdaniel.net
</VirtualHost>
<VirtualHost *>
# User alan
# Group alan
ServerName brighton2002.pghdaniel.net
ServerAdmin alan.TakeThisOut@pghdaniel.net
DocumentRoot /www/brighton02/
CustomLog /www/brighton02/logs/brighton2002-access_log combined
ErrorLog /www/brighton02/logs/brighton2002-error_log
</VirtualHost>
One thing of note: index.html is a frames page, and error page listed is for
the main.php page in the center frame
Thanks in advance,
Alan