Where is "hosts" file for apache https?

Brandon Allbery allbery.b at gmail.com
Thu Feb 28 11:24:44 PST 2013


On Thu, Feb 28, 2013 at 2:14 PM, Murray Eisenberg <murrayeisenberg at gmail.com
> wrote:

> What's the advantage of using a bunch of conf files, one for each virtual
> host, over just putting blocks for them in httpd-vhosts.conf with
> corresponding entries in /etc/hosts ?
>
> Or does using the separate conf files mean I don't have to list each
> virtual host again in /etc/hosts ?
>

All /etc/hosts does is let you define hostnames that are not in DNS. To use
*any* host name in *any* program, it has to be defined somewhere, either in
DNS or in /etc/hosts.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130228/e03bb476/attachment.html>


More information about the macports-users mailing list