Thanx for that. -Tony --------------------------- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abiacco@xxxxxxxxxxxxxxxxxx http://www.formatdynamics.com -----Original Message----- From: Eric Covener [mailto:covener@xxxxxxxxx] Sent: Friday, September 05, 2008 12:13 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: mod_rewrite bug/by design with mod_mem_cache cached files? On Fri, Sep 5, 2008 at 1:20 PM, Anthony J. Biacco <abiacco@xxxxxxxxxxxxxxxxxx> wrote: > Hi, > > I'm using apache 2.2.9 with mod_mem_cache to cache some javascript > files, which is working fine. > > Today, I added a rewrite rule to forbid access (403) to everything in a > virtualhost based on the Opera browser, which obviously included the > javascript files. top of http://httpd.apache.org/docs/2.2/mod/mod_cache.html : This module should be used with care and can be used to circumvent Allow and Deny directives. You should not enable caching for any content to which you wish to limit access by client host name, address or environment variable. Once the cache is on, it gets served so early that these modules don't get to run. -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx