wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Using mod_cache & mod_proxy Apache 2.2.9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Using mod_cache & mod_proxy Apache 2.2.9" Watch "Using mod_cache & mod_proxy Apache 2.2.9" New topic

Using mod_cache & mod_proxy Apache 2.2.9

Todd Baxter

Joined: Sep 26, 2007
Posts: 18
If I put the mod_cache directives, the mod_proxy stuff doesn't work and vice versa. Has anyone had luck making the two modules work together.

Here are my configs..

<IfModule mod_proxy.c>
ProxyRequests Off
ProxyRemote * http://proxy.blah.com:8000
ProxyPass /images/ http://blah.com/images/

<IfModule mod_cache.c>
<IfModule mod_disk_cache.c>
CacheRoot /home/httpd/apache/cache
CacheEnable disk /
CacheDirLevels 2
CacheDirLength 1
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

This forum is for Apache Tomcat.

I'll move this to our "Other Open Source Projects" forum for you.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
GeeCON Prague 2014
subject: Using mod_cache & mod_proxy Apache 2.2.9