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 2006/04/21 00:56:38 UTC
DO NOT REPLY [Bug 38892] - Content negotiation guide: SetEnvIf example incomplete (leads to caching problems)
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