Koozali.org: home of the SME Server

web proxy cache permission denied

Dunc

web proxy cache permission denied
« on: July 07, 2000, 10:02:21 AM »
I thought I'd try using the Apache proxy & cache feature so in the httpd.conf file modified:

# Proxy Server directives. Uncomment the following line to
# enable the proxy server:

#I turned this on:
ProxyRequests On

# To enable the cache as well, edit and uncomment the following lines:

#I turned this on (uncommented) too
CacheRoot /var/cache/httpd
CacheSize 5
CacheGcInterval 4
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDefaultExpire 1

However, nothing showed up in the CacheRoot area and the log file reports:
[Thu Jul  6 19:36:34 2000] [error] [client 192.168.1.10] (13)Permission denied:
proxy: error creating cache file /var/cache/httpd/tmpr8j8DY
...on and on and on...

Is there a specific setting on the cache directory I should be setting or did I fail to properly configure all that needs tweaking?

Dunc

RE: web proxy cache permission denied
« Reply #1 on: July 07, 2000, 10:30:19 AM »
Oh, I think I needed to change the ownership of the cache dir as per the User in the httpd config file.

Charlie Brady

RE: web proxy cache permission denied
« Reply #2 on: July 07, 2000, 10:47:23 AM »
Dunc wrote:

> I thought I'd try using the Apache proxy & cache feature so
> in the httpd.conf file modified:

Why do you want to do that? All advice that I've seen is that squid does the job much better.

Charlie