Virtual Hosting

KeithSmith compunerd@gci-net.com
Thu, 15 Jun 2000 15:45:26 -0700


Isn't that dependant on your log files - which are
configured in Apache?


Don Harrop wrote:
> 
> I don't know this for sure but I think web tracking software like WebTrends
> can't track correctly because everyone is browsing to the same ip.  Can
> anyone either back that up or blow my theory out of the water?
> 
> Don
> 
> > Just a WAG here (you're already doing more with apache than I've been
> > able to play with ;-), but isn't ServerName what Apache is expecting in
> > a "Host:" header from the requesting browser as the site name. So I
> > would think you would want "travelcruise" (assuming your registered the
> > domain obviously).  Although from reading the docs on name-based virtual
> > hosts,
> > http://www.apache.org/docs/vhosts/name-based.html
> >
> > since you're using a different IP address for this virtual host, than
> > this section is the primary vhost for that IP, and will be returned
> > regardless of what "host:" header is sent.  It'll only get you into
> > trouble if you were to put another name-based vhost in with the same IP
> > address, iow if the server names weren't fixed the travelcruise would
> > always be returned.
> >
> > The neat thing about vhosts is that you could have only 1 public IP
> > address, and support many different sites off the same rig just using
> > different ServerName variables for each site's VirtualHost section.  At
> > least I think it's neat, any drawbacks or limitations on this?
> 
> _______________________________________________
> Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss