klingklang
Technical User
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
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