Hello,

 

I’m a newbie and am hoping for some help in my learning curve.  I have read the documentation at http://httpd.apache.org/docs/vhosts/ , the Red Hat manual and the Red Hat Linux 9 Bible.  I must be missing something.

 

I am using Red Hat 9 with Apache Server and am setting up a Virtual Web Server behind an SMC Router.  I have set the router to forward port 80 to the server but am having trouble.  The server forwards incoming traffic but it goes to the location to “handle all unhandled incoming requests” rather than the “virtual directory”.  I have set up the DNS correctly (I think).  I would appreciate suggestions why the web server is unable to forward to the desired location.

 

Thank you, in advance.

 

Regards,

Steve

 

 

My configuration is as follows:

 

All PC’s in the network have static IP’s.  (192.168.2.X)

 

The httpd.conf has the following:

 

#Listen 12.34.56.78:80

Listen 80

 

ServerName servername.domain.ca:80

 

NameVirtualHost *:80

 

<VirtualHost *:80>

    DocumentRoot /var/www/html/location1

    ServerName www.firstdomain.ca

</VirtualHost>

 

<VirtualHost *:80>

    DocumentRoot /var/www/html/location2

    ServerName www.seconddomain.ca

</VirtualHost>

 

 

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to