httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38892] - Content negotiation guide: SetEnvIf example incomplete (leads to caching problems)
Date Thu, 20 Apr 2006 22:56:38 GMT
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=38892>.
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=38892





------- Additional Comments From richard@2006.atterer.net  2006-04-20 22:56 -------
>   SetEnvIf Cookie "language=([a-z-]+)" prefer-language=$1
>   Header append Vary cookie

I realize this is also a fairly problematic solution: If a site uses cookies
with session IDs, then images and other static content will be stored multiple
times by proxies! :-(  Unfortunately, only a workaround is possible:

SetEnvIf Request_URI \.(jpe?g|gif|png|exe|bin|zip|bz2|t?gz|swf)$ staticReq
Header onsuccess append Vary cookie env=!staticReq


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message