httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Burden" <...@Burden.ca>
Subject Re: [users@httpd] I need some LOCAL Virtual Host Examples
Date Fri, 07 May 2004 03:11:11 GMT
That's right. Now how does your browser know where to find the host
geosymbols? You don't have an Apache config problem, you have a DNS problem.

----- Original Message ----- 
From: "David Blomstrom" <david_blomstrom@yahoo.com>
To: <users@httpd.apache.org>
Sent: Thursday, May 06, 2004 10:24 PM
Subject: [users@httpd] I need some LOCAL Virtual Host Examples


> I'm getting more confused, so let me more or less go
> back to square one. First, forget about subdomains, at
> least for now. All I want to do is create some plain
> vanilla virtual hosts.
>
> All of my websites are in a folder named sites, on my
> C drive. So I'm assuming the DocumentRoot for a site
> named geoworld would be something like
> c/sites/geoworld, or C:/sites/geoworld
>
> Suppose I want to convert two sites, geoworld and
> geozoo, into virtual hosts. The paths are
> C:/sites/geoworld and C:/sites/geozoo
>
> Can someone tell me exactly what I would enter for
> DocumentRoot and ServerName?
>
> Below is my crude attempt. Apache's examples are no
> help because they all refer to online websites, with
> www prefixes and .com or .org suffixes.
>
> Thanks.
>
> #
> # VirtualHost example:
> # Almost any Apache directive may go into a
> VirtualHost container.
> # The first VirtualHost section is used for requests
> without a known
> # server name.
> #
> #<VirtualHost *>
> #    ServerAdmin webmaster@dummy-host.example.com
> #    DocumentRoot /www/docs/dummy-host.example.com
> #    ServerName dummy-host.example.com
> #    ErrorLog logs/dummy-host.example.com-error_log
> #    CustomLog logs/dummy-host.example.com-access_log
> common
> #</VirtualHost>
>
> <VirtualHost *>
>     DocumentRoot c/sites/geosymbols
>     ServerName geosymbols
> </VirtualHost>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>
> ---------------------------------------------------------------------
> 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