On Thu, 4 Oct 2001, Ryan Bloom wrote: > On Thursday 04 October 2001 08:50 am, Rodent of Unusual Size wrote: > > > Listen 80 > > ServerName Foo.Com > > <VirtualHost OtherFoo.Com:8080> > > > > What happens? Presumably the vhost will never hear anything, > > but will/should we detect it and report it? > > We don't today. Should we, probably. This patch does not touch this > logic though.
in the absense of a "NameVirtualHost Foo.Com" directive, the above doesn't generate a warning in 1.3... (although it does if you select the dump vhosts command line option, odd that i didn't put the warning into normal runs!) if a "NameVirtualHost Foo.Com" directive is present, and there are no other vhost sections then it'll warn that there's a NameVirtualHost without any vhosts. > The default port is 80, but we do not default a listening port > anymore. so this means an httpd.conf with "Listen 80", but no ServerName directive and no vhosts would JFW, right? (i.e. the ServerName would end up defaulting to the gethostname() result, and the port would default to 80.) +1 if so. -dean
