Bug 28657 - mod_negotiation should not store Content-Location header as an error header
Summary: mod_negotiation should not store Content-Location header as an error header
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_negotiation (show other bugs)
Version: 2.0-HEAD
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL: https://www.fiverr.com/alexdesigni/co...
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-28 14:42 UTC by Mark Tranchant
Modified: 2019-03-24 11:00 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Tranchant 2004-04-28 14:42:04 UTC
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.
Comment 1 André Malo 2004-04-28 14:48:11 UTC
Just a minor detail. It was not removed, but not ported yet ;-). The backport
from 2.1 is already in voting stage.
Comment 2 Mark Tranchant 2004-04-28 15:10:44 UTC
Summary simplified by someone else. I'm not sure whether the bug is "no
ErrorHeader directive", or "mod_negotiation should add Content-Location as a
normal header, not an error header".
Comment 3 Joshua Slive 2004-04-28 16:21:04 UTC
errorheader doesn't actually mean that the header is sent only on errors.  In
fact, it means the header is sent both on normal responses and on errors.
Comment 4 Mark Tranchant 2004-04-28 18:49:57 UTC
Understood, but the way it is stored prior to sending means that the Header
directive cannot modify it. I'd argue that it should be able to - as it is not
an error.
Comment 5 André Malo 2004-05-14 10:30:56 UTC
r->err_headers_out is the right place, because it must be sent always, if it's
sent at all.
Comment 6 Mark Tranchant 2004-05-14 10:58:58 UTC
I'm not happy with that. The HTTP spec says it SHOULD be sent out for negotiated
documents, not MUST. I have (I believe) good reason for not wanting it sent - I
don't want future requests direct to the actual document, as that may generate a
404.

If you WONTFIX this again, I'll shut up, but I think this needs fixing.
Comment 7 André Malo 2004-05-14 11:53:17 UTC
You changed the report to change the implementation, which is correct. Thatsway
wontfix.
It has nothing to do with SHOULD or MUST clauses in the RFC.

By the way, *I* was the guy who suggested the backport, because of exactly the
problem, you're encountering.
Comment 8 Mark Tranchant 2004-05-14 11:55:02 UTC
Accepted WONTFIX (private mail discussion). Will await ErrorHeader backporting.
Comment 9 André Malo 2004-06-17 21:06:12 UTC
FYI: we've changes the implementation in 2.1 with respect to the misnaming of
ErrorHeader. Now there's a new attribtute für Header, which controls the
behaviour and is hopefully more intuitive. See
<http://httpd.apache.org/docs-2.1/mod/mod_headers.html#header>.

However, the whole change was suggested for backport.
Comment 10 André Malo 2004-08-19 22:58:47 UTC
Done. (will be in 2.0.51).
Comment 11 james lara 2018-08-28 13:15:57 UTC
its great post and help me alot. please keep continue posting articles on your great site.
https://games.lol/clash-royale/
Comment 12 james lara 2018-09-03 07:33:28 UTC
Thanks so much for your kind words. It means the world best article :)

http://plumbproud.co.uk/boiler-repair/
Comment 13 Jack 2018-10-01 19:54:39 UTC
This article helped me and business out a lot - thank you
http://www.arbuk.co.uk/articles/tree-felling-in-oxfordhtml
Comment 14 Jack 2018-10-14 12:18:29 UTC
Very grateful that you shared this content! 

https://www.newcastlepestcontroller.co.uk/
Comment 15 thanhlycuongphat 2018-11-09 09:17:53 UTC
https://thanhlycuongphat.com/ thanh ly may tinh, giai phap phong net tron goi
Comment 16 Jack 2018-11-20 21:27:52 UTC
Great article, many thanks for sharing!


https://www.idealcleaningcentre.co.uk/
Comment 17 Michael Gere 2018-12-06 07:16:09 UTC
Hi all, 

Despite the bugs, i prefer apache to nginx.

I use web server apache on all my sites like : <a href="https://www.levelsanswers.com/">Levelsanswers</a>

all works fine so thank you for your job.

Regards.
Comment 18 martin garix 2018-12-07 06:35:18 UTC
<a href="http://google.com">google</a>
Comment 19 medhattreecare 2018-12-22 03:31:15 UTC
Appreciate the intel, thanks! http://www.tilecontractorswinnipeg.com/
Comment 20 askhatri 2018-12-22 10:08:19 UTC
Your article has proven useful to me.  It’s very informative and you are obviously very knowledgeable in this area.  You have opened my eyes to varying views on this topic with interesting and solid content.
<a title="logo maker" href="https://www.fiverr.com/alexdesigni/design-2-modern-logo-in-24-hours">logo maker</a>
Comment 21 Christophe JAILLET 2018-12-22 10:18:09 UTC
Please stop spamming.
Thx
Comment 22 Jonathon Coleman 2018-12-31 12:15:06 UTC
See a lot of spam comments here. This is my first time to comment and I just want to thank your knowledge for doing much help on this website: https://www.concretecontractorsbirmingham.com. I can't thank you enough!
Comment 23 Jack 2018-12-31 15:56:20 UTC
Keep up the good work, you have really helped out my business with this article
https://www.wemoveanything.com
Comment 24 Lovely 2019-01-04 09:41:07 UTC
I'm truly inspired with your writing talent.	
Anyway keep up the superb high quality writing, it’s rare to see an excellent blog like this nowadays.
https://www.favorspalace.com/
Comment 25 Lovely 2019-01-04 09:42:17 UTC
I'm truly inspired with your writing talent.	
Anyway keep up the superb high quality writing, it’s rare to see an excellent blog like this nowadays.
https://www.favorspalace.com/
Comment 26 Ava Micheal 2019-01-04 09:49:40 UTC
Nicely presented information in this post, I prefer to read this kind of stuff. The quality of content is fine and the conclusion is good. Thanks for the post.
https://www.seo-lah.com/
Comment 27 Maria 2019-01-04 10:07:08 UTC
Impressive writing. You have the power to keep the reader occupied with your quality content and style of writing. I encourage you to write more 
https://www.manage-wordpress.com/ 
https://www.rainbowarticles.com/
Comment 28 Hudson 2019-01-04 10:19:14 UTC
Pretty valuable stuff, overall I think this is well worth a bookmark, thanks
https://www.codigeeks.com
https://www.babypalace.pk/
Comment 29 saifullahsufi 2019-01-07 13:01:25 UTC
Although securing a job is a very dificult task during these days but we have collected many jobs from diferrent Government and private sector for the ease of job seekers.
https://latestjobspk.net/government-jobs-in-pakistan

I am amazed to read this article. How hard struggled writter,I really appreciate your effort.	
https://jobhubnet.com/category/government-jobs

Have you ever watched phipini drama, never. You can watch now by visiting our website
which will please you in the world of entertainment.
http://lambinganpinoy.su/category/ang-probinsyano
Comment 30 janetwatson 2019-01-16 06:32:55 UTC
This article facilitated me and business out a lot, please keep continue posting objects on your great site. https://webnado.com.au/
Comment 31 Taylor Watson 2019-01-16 10:15:47 UTC
Nicely obtainable info in this post, I wish to read this kind of stuff every day. https://oneworldrental.com/
Comment 32 kamil 2019-01-19 19:24:28 UTC
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. https://clashofwizards.club/cookie-run-hack-cheat/

ErrorHeader has been removed and a simple Header directive doesn't work.
There appears to be no way to get Apache not to produce the Content-Location header.
Comment 33 Jack 2019-01-26 11:06:06 UTC
Really good job here - thank you for sharing this article
https://www.easycleannottingham.com
Comment 34 askhatri 2019-02-02 12:22:45 UTC
I must say, as a lot as I enjoyed reading what you had to say, I couldnt help but lose interest after a while.  Its as if you had a wonderful grasp on the subject matter, but you forgot to include your readers.  Perhaps you should think about this from far more than one angle.  Or maybe you shouldnt generalise so considerably.  Its better if you think about what others may have to say instead of just going for a gut reaction to the subject.  Think about adjusting your own believed process and giving others who may read this the benefit of the doubt.
Comment 35 Jack 2019-02-07 21:17:22 UTC
(In reply to Jack from comment #16)
> Great article, many thanks for sharing!
> 
> 
> https://www.idealcleaningcentre.co.uk/
Comment 36 Jack 2019-02-07 21:18:16 UTC
(In reply to Jack from comment #33)
> Really good job here - thank you for sharing this article
> https://wasteclearancemanchester.co.uk

http://kingpinrollershutters.com/
Comment 37 maro 2019-02-12 13:26:08 UTC
I'm using MultiViews for content negotiation, as described at
https://pleasurear.online
Comment 38 jan 2019-02-12 16:08:27 UTC
most of guys who need a castle crush mod apk visit https://castlecrush.club/
Comment 39 adam 2019-02-12 18:58:09 UTC
Summary simplified by someone else. I'm not sure whether the bug is "no
ErrorHeader directive", or "mod_negotiation should add Content-Location as a
normal header, not an error header" https://railrushmodapk.club/
Comment 40 Denisa Friska 2019-03-19 16:18:01 UTC
(In reply to Jack from comment #16)
> Great article, many thanks for sharing!
> 
> 
> https://www.idealcleaningcentre.co.uk/

Agree with you mate! https://chi-nese.com/list-of-positive-words-that-start-with-v/
Comment 41 Jack 2019-03-23 17:51:01 UTC
Brilliant entry - cheers for sharing

Jack,

https://www.aceremovalsbusiness.com
Comment 42 liana pranata 2019-03-24 11:00:17 UTC
Thank you for give me some advice to solve this problem,,
I find this site is helpful too,, can i recommend your site to my friends?
Feel free to visit me https://pokerqiuqiu81.com
Good bye ;)