Hi again,

I think that creates a problem that downstream proxies are affected by that 
change, meaning that if i remove those headers, squids and browsers will not 
cache that content.

I only want that behaviour in mod_cache in my reverse proxy and not in the 
other downstream proxies.

Thanks,
Nuno Fernandes

On Monday 02 March 2009 17:31:56 Anthony J. Biacco wrote:
> An environmental variable of no-cache won't do anything, it doesn't
> modify the response headers at all for you. But you can try this..
>
> SetEnvIf Request_URI "\.aspx$" DO_nocache
> Header set Cache-Control no-cache env=DO_nocache
> Header unset Expires env=DO_nocache
>
> -Tony
> ---------------------------
> Manager, IT Operations
> Format Dynamics, Inc.
> 303-573-1800x27
> abia...@formatdynamics.com
> http://www.formatdynamics.com
>
> From: Nuno Fernandes [mailto:npf-mli...@eurotux.com]
> Sent: Monday, March 02, 2009 10:27 AM
> To: users@httpd.apache.org
> Subject: [us...@httpd] mod_cache and se
>
> Hi,
> I'm using mod_cache and mod_disk_cache and mod_proxy in reverse-proxy
> mode to cache some content of some internal servers.
> CacheRoot "/var/cache/httpd/mod_proxy"
> CacheEnable disk /
> CacheDirLevels 5
> CacheDirLength 3
> CacheMinFileSize 1
> CacheMaxFileSize 1000000
> SetEnvIf Request_URI "\.aspx$" no-cache
> I'm trying to disable cache to all the aspx files, but with the above
> configuration, all content is cached. Any ideas?
> Thanks,
> Nuno Fernandes
>
> ---------------------------------------------------------------------
> 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: users-unsubscr...@httpd.apache.org
>    "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org



Reply via email to