Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 48357] Custom ErrorDocument 400 not working when Host header is missing

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

May 24, 2012, 8:35 AM

Post #1 of 2 (164 views)
Permalink
[Bug 48357] Custom ErrorDocument 400 not working when Host header is missing

https://issues.apache.org/bugzilla/show_bug.cgi?id=48357

Petr Sumbera <petr.sumbera [at] oracle> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |petr.sumbera [at] oracle
Resolution|WORKSFORME |---

--- Comment #4 from Petr Sumbera <petr.sumbera [at] oracle> ---
This is still issue. Though not sure what to do about it.

When host is not specified:
===========================

Then ap_process_http_connection() calls ap_read_request()

where it logs following error:

"client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): %s"

and sets r->status to HTTP_BAD_REQUEST

so that later ap_send_error_response() is called which won't do any redirection
(instead it will send default error text).

When host is specified:
=======================

Then ap_process_http_connection() calls ap_process_request() because so far
status was OK. But then status is evaluated not be ok and ap_die() is called.
Where ap_die() will do custom redirection.

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

May 31, 2012, 7:50 PM

Post #2 of 2 (145 views)
Permalink
[Bug 48357] Custom ErrorDocument 400 not working when Host header is missing [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48357

masanobu.hatanaka [at] oracle changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |masanobu.hatanaka [at] oracle
| |m

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.