httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Marti <>
Subject [users@httpd] Proxy/Caching external sites
Date Thu, 11 Sep 2008 14:42:30 GMT
Dear all

For our website we implemented the addthis-scripts be I want them to  
get proxied and cached our the server locally,
so when the addthis server is down, or in generall, the Javascript  
from addthis is provided from our server only
recaching it now and then from it's orignial source.

I tried now serveral times to make it work using mod_proxy and  
mod_cache but I don't get it to work.
Any ideas how the configuration should look like? Here is an example  
of what I allready did so far (not working):

DocumentRoot "/Library/WebServer/Documents"

<IfModule mod_proxy.c>
ProxyRequests Off

<Proxy *>
	Order deny,allow
	Allow from all

ProxyPass	/addthis/

<IfModule mod_cache.c>
	<IfModule mod_disk_cache.c>
		CacheRoot D:/server/apache2/cache
		CacheEnable disk /addthis
		CacheDirLevels 5
		CacheDirLength 3
		CacheDefaultExpire 86400


The link withing the page then looks something like: /addthis/ 

Thanks in advanced,

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message