On 28 Aug 2002, Ryan Lubke wrote:

> > 1) For me after ( another ) reading of rfc2616, from the point you named
> > and following the references given there, i've found that in 5.2 seems
> > to say that a empty Host: header must be responded by 400 because empty
> > it is not a valid Host name..
> 
> But an empty host header does have a meaning, i.e. the target resource
> is being identified via an IP address and not a host name.

If you use http://127.0.0.1:8080, you'll have '127.0.0.1' in the host 
header.

And you can use ip addresses as host names in the config file, AFAIK.


> I'm reading this that if the host, probably a virtual host on the server
> , can't be determined, then return the 400.  

If a host can't be determined - all servers will use the default 
host. 

Costin


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to