Re: CacheMgr

From: Mark A. Crother <crotherm@dont-contact.us>
Date: Thu, 13 Mar 1997 09:32:36 -0800 (PST)

>
> I wish to use the cache manager.
>
> I putted the scriptalias in apache. And I didn'T putted passwords (default).
>
> I can run the cgi. in the ip, I put my server IP, and in URL I put nothing.
> I ask for cache information, then submit, and it returns : Error.. Access Denied
>
> Sorry, you are not currently allowed to request
> cache_object://206.248.88.67/info@
>
> >From this cache. Please check with the
> cache administrator
> if you believe this is incorrect.
>
> if the cgi is in the apache cgi-bin directory, will it modify the cgi
> comportment ? my cachemgr.cgi is in /usr/local/apache/cgi-bin.

How did you set up the acl's for manager access?

The default settings are...

        acl manager proto cache_object
        acl localhost src 127.0.0.1/255.255.255.255

        http_access deny manager !localhost

This would only allow the localhost to access cachemgr. What I did was
add an acl of

        acl admin src xxx.xxx.xxx.xxx/yy xxx.xxx.xxx.xxx/yy ...

        http_access deny manager !admin

where the x's are the ip addr of the machines you are trying to access
cachemgr from and yy is the number of mask bits.

>
> Thanks.
>

-- 
Mark Crother                    crotherm@roses.bna.boeing.com
Boeing North American (BNA)
Space Systems Division (SSD)    All opinions are mine.
Received on Thu Mar 13 1997 - 09:44:02 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:41 MST