>I am running the new NCSA 1.5 httpd on a bsdi 2.01 server.
>I am trying to get the VirtualHost directive working and
>used the following code....
><VirtualHost www.gobreck.com Optional>
>DocumentRoot is also set to /var/www/docs/brc
>But when I pull up: http://www.gobreck.com
>it still is accessing /var/www/docs
>Does anyone know the correct way to setup a VirtualHost
>within an httpd configuration. Obviously I am missing
>Any help would be greatly appreciated.
>Colorado Internet Services
I have the same setup as you. After banging my head on this matter,
and binding to a port must not be set, i gave up. I have 50 domains
going, and 50 different httpd's, all compiled to run their own
access/srm/httpd conf files. each one with its own home page location.
i compiled each with 1 start up, and max_server to 2, so it starts three
initially. I can controll access better, and i tricked them all,
for redirect, i set http://www.ag.net/~username to redirect to
http://www.username.domain, and then the opposite. that way if theres
an old link to the old address prior to their domain name, it finds both.
Its a bsdi dns problem that eliminates the virtual host compatibilty.
Also the faq on bsdi about multi-homed hosts, and interface alaises is
wrong. i asked them to fix it. no where could i find dope on multi-homed
or the other, so i ended up scanning someone elses system for named.boot
and name.db files to stumble on the syntax for $ORIGIN.