Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Virtual Hosts Problem

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Access denied by rule  
Author Message
alan7

External


Since: Aug 16, 2003
Posts: 5



(Msg. 1) Posted: Tue Oct 14, 2003 1:41 am
Post subject: Virtual Hosts Problem
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: Virtual Hosts Problem 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
virtual hosts problem.. - hi, After Kerio + windows managed to delete my whole webserver, I've had to reinstall the lot.. However, I'm having a few problems with stuff... I have the virtual hosts working again, but cgi scripts are not working in all of them... I have WinXP +....

Problem with Virtual Hosts for Windows on Apache 2 - I cannot get the virutal hosts to work with Apache2 on my windows server. This is the configuration I have. Does anyone have experience configuring a Win2K machine? NameVirtualHost 219.250.125.145 &lt;VirtualHost 219.250.125.145&gt; ..

Virtual hosts and SSL? - Hello I'm trying to setup this apache 1.3 server for virtual hosts, with ssl. I've got the normal port 80 working, but the SSL is a bit of a mess. If I have the SSL pages in the real part of the server, ie, https://www.example.com/fred/index.htm then....

Virtual Hosts? - I'm wanting to use one IP address to host multiple domains, ie web hosting. I assume that "virtual hosts" are the thin I need to focus on here and is this basically a similar concept to Host Headers in IIS 5.0? I'm running Windows 2000 with Apa...

Virtual Hosts question - I guess I need to know if this is even possible... I have one webserver running apache Virtual Hosts on three different ports. Everything works fine and I can go to each page by specifying the port in my browser (e.g. "http://domain.com:8080"...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]