httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Barrett" <jnjbarr...@charter.net>
Subject Re: [users@httpd] Name based virtual hosting
Date Sun, 27 Apr 2003 23:52:56 GMT
Thanks Jeff, I got it workin now :)


----- Original Message -----
From: "Jeff Cohen" <support@gej-it.com>
To: <users@httpd.apache.org>
Sent: Sunday, April 27, 2003 4:39 PM
Subject: RE: [users@httpd] Name based virtual hosting




> -----Original Message-----
> From: Joe Barrett [mailto:jnjbarrett@charter.net]
> Sent: Sunday, April 27, 2003 7:17 PM
> To: Apache
> Subject: [users@httpd] Name based virtual hosting
>
> Ok these are the parts of the config I edited to try and make name based
> virtual hosts, and with this code apache started, but nothing was
> accessible... Can someone please tell me what I did wrong / need to do?

Sure, take a look:

 ServerRoot "C:/Program Files/Apache Group/Apache2"
 Listen 80
 ServerName .68.116.63.71:80
 DocumentRoot "C:/Program Files/Apache Group/Apache2"
 <Directory "C:/Program Files/Apache Group/Apache2">
 NameVirtualHost *
 <VirtualHost *>
 DocumentRoot c:/path/to/RopheySite (if spaces included you must "quote" the
path)
 ServerName rophey.dyndns.org
 </VirtualHost>

 <VirtualHost *>
     DocumentRoot c:/path/to/BenSite (if spaces included you must "quote"
the path)
     ServerName boredom.dyndns.org
 </VirtualHost>

All the best,
Jeff Cohen


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message