"jean-frederic clere" <[EMAIL PROTECTED]> wrote:

>> server_rec->hostname , the server rec is passed to you in all config
>> functions, and the virtual host name is in there (check out mod_webapp.c in
>> the Apache 1.3 directory, or mod_jserv)...
> 
> mod_webapp requires the VirtualHostName in httpd.conf does not it?

It requires "HostName" both inside every <VirtualHost> (well, as
"NameVirtualHost" requires) and outside. We _need_ to know the host name,
the Servlet spec requires it (of course is not absolutely required by the
HTTP protocol, as there is the "Host" header, but)...

    Pier

Reply via email to