httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Speck" <bsp...@carolina.rr.com>
Subject Virtual hosts (Named or Other)
Date Mon, 15 Apr 2002 21:21:14 GMT
Okay I am sure this is real simple But I can not figure what I did wrong

I am using no-ip ( Dynamic DNS) to route a few names to a single
computer. 

I am sitting behind an IPcop Firewall/router with Port 80 being
forwarded  to my local webserver

I am trying to get bspeck.no-ip.com to go to the default directory (this
is working)

Also I am trying to get Countrybarn.servebeer.com to goto a different
directory. But this is not working

Here is my Virtual Hosts section
In the httpd.conf

Hopefully someone can help me out..
If you need the full httpd.conf. please let me know

<VirtualHost 192.168.0.2>
 	ServerAdmin bspeck@nettaxi.com
 	ServerName bspeck.no-ip.com
      ServerAlias bspeck.no-ip.com
 	DirectoryIndex index.php index.html index.htm index.shtml 
	
	<Directory "/var/www/html/">
	 	AllowOverride none
 	</Directory> 
 	LogLevel debug
 
</VirtualHost>

# Virtual host countrybarn.servebeer.com
<VirtualHost 192.168.0.2>
 	DocumentRoot /home/Countrybarn/www/ 
  	ServerAdmin bspeck@nettaxi.com
 	ServerName countrybarn.servebeer.com
      ServerAlias countrybarn
      ServerAlias countrybarn.servebeer.com
 	
	<Directory "/home/Countrybarn/www/">
	 	AllowOverride none
 	</Directory>

Thanks
Brian



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message