httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Hood <>
Subject Virtial Hosting
Date Mon, 18 Feb 2002 20:25:55 GMT
I have 2 domains setup with  Current to domian 1 is going to port 
8080 and domain2 is going to port 8081.  I am running a linux firewall using 
ipchains.  Port 8080 is fowarded to my webserver at port 80 and port 8081 is 
foward as port 8081 to the webserver.  My virtual hosts looks like this for my 
troubled website.  I sent the second domain to 8081 because i could not get the 
virtual hosting to work to start with.

<VirtualHost _default_:8081 >
    DocumentRoot /var/www/html/games

<Directory /var/www/html/games>
      Options Indexes
      Allow From All


<VirtualHost >
    DocumentRoot /var/www/html/tn

<Directory /var/www/html/tn>
      Options Indexes
      Allow From All


Now if i got to any address on port 8081 i get the _default profile.  If i got 
to I get the default profile.  If I remove the _default i 
get my server deafult for every site i try to hit on mer server no matter what 
port.  Is it possible to do what i want to do?  I want all the sites working on 
1 port and be able to virtual  Can any one aid with some 



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message