httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Apache httpd does not respect the HTTP RFCs !
Date Sat, 28 Nov 2009 13:15:47 GMT
On 11/28/09, André Warnier <aw@ice-sa.com> wrote:
> ;-)
>  I just wanted, once, to use a subject line with capitals and an
>  exclamation mark.
>
>  It seems however that in this particular case, neither Tomcat nor Apache
>  httpd follow the rules, when they default to the .. default virtual host
>  in the case where they cannot find a match between the Host: header and
>  one of their defined virtual hosts.
>  Doesn't the following say that they MUST return a 400 status ?
>
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.2

No, they only have to return a 400 when they believe the provided Host
is invalid on the server.  Neither server treats hostnames that have
not been explicitly enumerated as being invalid on the server, and
this is not a requirement of the RFC.


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message