[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache + mod_proxy



Le 2000-04-26 15:45:36 +0000, John Stevenson écrivait :
> I have a problem with apapche and mod_proxy.  I added the following to
> the /etc/apache/http.conf
> 
> ## www proxy settings
> CacheRoot /var/www/cache
> CacheSize 500
> CacheDirLevels 3
> CacheDirLength 1
> 
> and uncommented the LoadModule proxy_module line.

You need to add :

ProxyRequests on

to enable proxy support.

Also, if you do not add something like :

CacheGcInterval 1

your cache will never be purged, and will
grow forever.

Adding something like :

<Directory proxy:*>
order deny,allow
deny from all
allow from localnet
</Directory>

in access.conf might also help.

Hope it helps.

-- 
Jean-Philippe Guérard


Reply to: