Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

More than 1 cache root

Status
Not open for further replies.

klingklang

Technical User
Oct 23, 2007
1
BE
Hi all,

I'm using mod_prox and mod_cache to create a reverse proxy server with caching. It's working great.
Let's say I'm having a reverse proxy setup for 2 domains.
I want to enable different quoata's on the cache of both domains. I thought that creating a cache root per domain and enable filesystem quota's on that directory.
But having a chacheroot per virtual domain isn't really working apparently....
How could I tackle this problem?
Anyone an idea?

<VirtualHost ServerName CacheRoot /mnt/proxy-cache/ CacheEnable disk /
CacheMaxFileSize 2097152
CacheMaxFileSize 64000
CacheIgnoreCacheControl On
CacheIgnoreNoLastMod On
CacheStoreNoStore On

ProxyPass / ProxyPassReverse / </VirtualHost>


<VirtualHost ServerName CacheRoot /mnt/proxy-cache/ CacheEnable disk /
CacheMaxFileSize 2097152
CacheMaxFileSize 64000
CacheIgnoreCacheControl On
CacheIgnoreNoLastMod On
CacheStoreNoStore On

ProxyPass / ProxyPassReverse / </VirtualHost>

Thanks,

Js
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top