You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/28 16:42:05 UTC

DO NOT REPLY [Bug 28657] New: - mod_negotiation adds Content-Location header as an error header

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28657>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28657

mod_negotiation adds Content-Location header as an error header

           Summary: mod_negotiation adds Content-Location header as an error
                    header
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: PC
               URL: http://bradchoate.com/weblog/2004/04/15/content-
                    dislocation
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: mod_negotiation
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mark@tranchant.plus.com


I'm using MultiViews for content negotiation, as described at
http://tranchant.plus.com/notes/multiviews.

I notice that mod_negotiation adds a Content-Location header to each request,
which reveals the actual filename chosen. The URL given above details the
authors discovery that mod_negotiation adds this header to some sort of error
header array, necessitating use of the ErrorHeader directive to remove it with
Apache 1.3.

ErrorHeader has been removed in 2.0, and a simple Header directive doesn't work.
There appears to be no way to get Apache not to produce the Content-Location header.

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