Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using mod_cache & mod_proxy Apache 2.2.9

 
Todd Baxter
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>

<IfModule mod_cache.c>
<IfModule mod_disk_cache.c>
CacheRoot /home/httpd/apache/cache
CacheEnable disk /
CacheDirLevels 2
CacheDirLength 1
</IfModule>
</IfModule>
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This forum is for Apache Tomcat.

I'll move this to our "Other Open Source Projects" forum for you.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic