Mailing List Archive

[Bug 9181] New: - Unable to set headers on non-2XX responses.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9181>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9181

Unable to set headers on non-2XX responses.

Summary: Unable to set headers on non-2XX responses.
Product: Apache httpd-1.3
Version: HEAD
Platform: All
URL: http://public.yahoo.com/~sander/patches/asf/httpd/apache
-1.3/mod_headers.patch
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: mod_headers
AssignedTo: bugs@httpd.apache.org
ReportedBy: sander@yahoo-inc.com


It is common practice to set Cookie's to pass along on HTTP
redirects for "login" authentication.

When implementing P3P <http://www.w3.org/P3P/> using
mod_headers.c the Header directive only sets r->headers_out
and does not pass the headers along for non-2XX responses
such as error pages and redirects.

To provide this functionality we added the ErrorHeader
directive which populates r->err_headers_out instead.

A patch for 1.3.X by Michael Radwin is available at the specified URL.

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