Processing mod_cache after mod_rewrite

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

 



All,

I need to have mod_cache process requests after mod_rewrite is done with them. The reason I need this is that CacheEnable only accepts a path and will cache everything under that path, while I need to cache based on more granular criteria...so I need mod_rewrite to look at the request and modify it, and then mod_cache to see the modified URI and act accordingly. mod_cache should not cache any request that's been modified by mod_rewrite, since it would no longer fall under the cacheable path. However, what happens is that mod_rewrite modifies the URI, but mod_cache still sees the original URI.

I googled and found  two old threads from 2005 and 2007 discussing mod_cache being a "quick" handler and citing this as the reason for this behavior. Is there any way around it?

Regards,
Karim

-------------------------------------------------------------------------------
"Although the moon is smaller than the earth, it is farther away."


---------------------------------------------------------------------
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