RE: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Karim Zaki
Will do -Original Message- From: Tamer Embaby [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 5:49 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache Karim, Please let me know if it works for you. Tamer

RE: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Tamer Embaby
Karim, Please let me know if it works for you. Tamer -Original Message- From: Karim Zaki [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 3:58 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache Yeah in this

RE: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Karim Zaki
, December 01, 2008 3:50 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache On Mon, Dec 1, 2008 at 8:42 AM, Tamer Embaby <[EMAIL PROTECTED]> wrote: > Eric, > > So using 2 vhosts would be: > > # Extern

Re: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Eric Covener
On Mon, Dec 1, 2008 at 8:42 AM, Tamer Embaby <[EMAIL PROTECTED]> wrote: > Eric, > > So using 2 vhosts would be: > > # External vhost > >ServerName www.example.com >CacheRoot /path/to/cache >Cache disk /url >CacheIgnoreCacheControl On >CacheMaxExpire 86400 >

RE: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Tamer Embaby
apache.org Subject: Re: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache On Mon, Dec 1, 2008 at 8:00 AM, Karim Zaki <[EMAIL PROTECTED]> wrote: > That sounds like a great idea, but how do I configure mod_cache differently > for the vhost? Would I configure it within the

Re: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Eric Covener
On Mon, Dec 1, 2008 at 8:00 AM, Karim Zaki <[EMAIL PROTECTED]> wrote: > That sounds like a great idea, but how do I configure mod_cache differently > for the vhost? Would I configure it within the vhost scope? If so, that > configuration would need to point to the same cache store, but without th

RE: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Karim Zaki
Covener [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 2:54 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache On Mon, Dec 1, 2008 at 7:46 AM, Karim Zaki <[EMAIL PROTECTED]> wrote: > So the CacheIgnoreCacheControl

Re: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Eric Covener
On Mon, Dec 1, 2008 at 7:46 AM, Karim Zaki <[EMAIL PROTECTED]> wrote: > So the CacheIgnoreCacheControl directive ignores "max-age" as well as > "no-cache"? I've seen some stuff online that suggested that it honors > "max-age=0", but not "no-cache"…which would provide a nice little backdoor. you mi

[EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Karim Zaki
IL PROTECTED] Sent: Monday, December 01, 2008 1:48 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache Karim, Because we instructed mod_cache to ignore CacheControl headers as well, it's the same as your case. Tamer __

[EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Tamer Embaby
D] RE: Clearing cache selectively on Apache + mod_cache Why do you think using request headers would not work? From: Tamer Embaby [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 1:39 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

[EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-12-01 Thread Karim Zaki
Why do you think using request headers would not work? From: Tamer Embaby [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 1:39 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache Karim, I'm afraid you have to do

[EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache

2008-11-30 Thread Tamer Embaby
Karim, I'm afraid you have to do that programmatically. We've done that in a project before with Apache 2.0 by knowing how Apache encodes URL for storing in internal cache directories, read it from: modules/cache_util.c: cache_hash(...) Which is controlled using: CacheDirLevels X