You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Karim Zaki <Ka...@itworx.com> on 2009/01/04 11:40:36 UTC

[users@httpd] RE: Caching "virtual directory" requests

Hi all,

Any help with this request would be highly appreciated :).

Thanks,
Karim

From: Karim Zaki
Sent: Tuesday, December 30, 2008 3:10 PM
To: users@httpd.apache.org
Subject: Caching "virtual directory" requests

Hello everyone,

I'm running Apache 2.2.11 with mod_jk and mod_cache. Apache doesn't seem to be caching requests for "virtual directories" (i.e. requests for URIs that don't end in a file name). My back-end Tomcat application uses such URLs (e.g. http://<host->/<virtual-directory<http://%3chost-%3e/%3cvirtual-directory>>) which result in a dynamic page being generated. Requests to such URIs come to Apache, they are forwarded to Tomcat using mod_jk, but the response is not cached. Is there a way to convince Apache to cache these URLs?

Thanks,
Karim

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


Re: [users@httpd] RE: Caching "virtual directory" requests

Posted by Eric Covener <co...@gmail.com>.
On Sun, Jan 4, 2009 at 5:40 AM, Karim Zaki <Ka...@itworx.com> wrote:
> I'm running Apache 2.2.11 with mod_jk and mod_cache. Apache doesn't seem to
> be caching requests for "virtual directories" (i.e. requests for URIs that
> don't end in a file name). My back-end Tomcat application uses such URLs
> (e.g. http://<host->/<virtual-directory>) which result in a dynamic page
> being generated. Requests to such URIs come to Apache, they are forwarded to
> Tomcat using mod_jk, but the response is not cached. Is there a way to
> convince Apache to cache these URLs?

I don't see why Apache would treat such a URL differently.

Have you checked the other cacheability rules in the caching guide and
turned on LogLevel debug?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org