Re: mod_rewrite bug/by design with mod_mem_cache cached files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux