Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119359 - Add few force-no-vary lines to httpd.conf
Summary: Add few force-no-vary lines to httpd.conf
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-17 17:44 UTC by Láďa Durchánek
Modified: 2006-01-18 02:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Láďa Durchánek 2006-01-17 17:44:04 UTC
Common httpd.conf comes without force-no-vary option set for some stupid browsers. I think something like this could save time for users trying to resolve really strange errors:

BrowserMatch "MSIE" brokenvary=1
BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1
BrowserMatch "Opera" !brokenvary
SetEnvIf brokenvary 1 force-no-vary

I found this somewhere on the internet, i'm very sure about MSIE (spent about 2 hours with this crapy browser) not so sure about Mozilla 4.xx.
Comment 1 Paul Querna 2006-01-17 18:53:38 UTC
please describe what exact errors this 'fixes'. 'really strange errors' is not acceptable.
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-01-17 22:14:04 UTC
With the move to the new-style configuration, we have opted to keep our config as close as possible to upstream defaults. These lines are not in upstream's configuration, so they won't be added to our, unless it is a serious security concern, which these do not appear to be.

Upstream default: http://svn.apache.org/viewcvs.cgi/*checkout*/httpd/httpd/branches/2.0.x/docs/conf/httpd-std.conf.in

Comment 3 Láďa Durchánek 2006-01-18 02:19:44 UTC
Main error was that with mod_rewrite all dots in Microsoft Excel filenames was replaced by underscores. E.g. instead of downloading text.xls.xls MSIE asked for downloading test_xls_xls. Who knows what exactly was MSIE doing, because there were test.xls.xls correctly in log. But i'm completely sure that this solved the problem as also described here: http://archive.apache.org/gnats/4118

I'll post to Apache directly, as it's not serious security problem but i think it may be another lines to "Misconfigured Browsers" section.

Thanks for reply.