httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48357] Custom ErrorDocument 400 not working when Host header is missing
Date Tue, 15 Jun 2010 12:34:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48357

--- Comment #2 from AH <andyharris7010@yahoo.co.uk> 2010-06-15 08:34:47 EDT ---
Using telnet hostname 80, if you type:

GET HTTP/1.0 HTTP/1.0

you get the custom ErrorDocument 400 as defined in apache2.conf.

If you type:

GET HTTP/1.1 HTTP/1.1
Host: hostname

you get the custom ErrorDocument 400 as defined in apache2.conf

If you type:

GET HTTP/1.1 HTTP/1.1

without the Host Header you get the Apache default 400 error text and not
the custom ErrorDocument.

I believe that this is the bug that has been reported. In all cases you should
be getting the custom ErrorDocument 400 if one has been defined. Me thinks.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message