Hello Everyone,
I am having a problem with the CacheIgnoreHeaders feature in mod_cache. We are
using CA SiteMinder for our web SSO and mod_cache is caching a users session
then distributing it out to other users who access the same page. We are using
version 2.2.10 of apache to act as a reverse proxy server. My thought is if we
can disable the Set-Cookie header then the session will not get cached with the
rest of the page, therefore not distributing out the session to other users.
Here are some snippets from my httpd.conf and subsequent conf file for this
particular reverse proxy site:
ProxyRequests Off
RewriteEngine On
NameVirtualHost *:80
CacheIgnoreHeaders Set-Cookie
CacheIgnoreQueryString On
<IfModule mod_cache.c>
<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
CacheIgnoreCacheControl On
CacheIgnoreHeaders Set-Cookie
CacheIgnoreQueryString On
CacheIgnoreNoLastMod On
CacheDirLevels 5
CacheDirLength 3
CacheDefaultExpire 1200
CacheMaxExpire 1800
</IfModule>
CacheDisable /mrtg/
CacheDisable /policies/
CacheDisable /hopkinsone/
# CacheDisable /Leadership/LeadershipSecure
CacheDisable /anesthesiology/
CacheDisable /users
CacheIgnoreHeaders Set-Cookie
CacheIgnoreQueryString On
</IfModule>
Other conf file for virtualsite:
<IfModule mod_cache.c>
<IfModule mod_disk_cache.c>
CacheRoot "/var/cache/mod_proxy"
CacheIgnoreNoLastMod On
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
CacheDefaultExpire 600
CacheMaxExpire 900
CacheDisable /hopkinsone
CacheIgnoreHeaders Set-Cookie
CacheIgnoreQueryString On
</IfModule>
CacheIgnoreHeaders Set-Cookie
CacheIgnoreQuerySTring On
ProxyPass / http://www.jhu.edu/
ProxyPassReverse / http://www.jhu.edu/
ProxyPassReverse http://www.jhu.edu/hopkinsone/Secure_Private !
</IfModule>
<VirtualHost *:80 >
ServerName www.jhu.edu
ProxyRequests Off
RewriteEngine On
</VirtualHost>
As you can see I've added the CacheIgnoreHeaders multiple times in multiple
places. I also did the same with CacheIgnoreQueryString in hopes that would
help but it didn't.
If anyone has any thoughts they'd be greatly appreciated.
Thanks,
Pat
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]