httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Rasmussen <mike...@patch.com>
Subject Re: Clarification on NameVirtualHost and VirtualHost sections
Date Sat, 22 Sep 2007 20:49:53 GMT
Joshua Slive wrote:
> >   If a <VirtualHost> block does not contain a ServerName statement the hostname
> >   of the computer will be used.
> 
> Not quite. It should be "Each <VirtualHost> block should contain a
> ServerName. If it is absent, the ServerName from the main server
> configuration will be used." 

Unless there's no ServerName in the main server configuration.  Then it pulls
the hostname.   Ubunutu, for example, defaults to this situation.

> I have indeed stumbled into this myself while debugging someone's
> configuration, so I agree it should be documented. I'll try to do it
> myself.

Thank you.

-- 
      Michael Rasmussen, Portland Oregon  
    Be appropriate && Follow your curiosity
          http://www.patch.com/words/ 
  The fortune cookie says:
La rosa tiene espinas, pero... ¿tiene pétalos el atún?
		-- Roberto Fontanarrosa. Humorista argentino. 


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message