Firstly, I think your order of deny's and allow's is important...if you have
deny all before allow 192.168.0.1 then it 192.168.0.1 will be denied...if
you put allow from 192.168.0.1 then deny all, if will check if the request
is coming from 192.168.0.1, if not it will deny all...i know that sounds
really vague but that about the best I can explain it at 10 to four in the
morning.

Try that tell us what happens....I know I've use the cachemgr.cgi once or
twice before but never really had enough troubles to really look into how it
works.
--

-----Original Message-----
From: Adam Hewitt [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, 24 March 2002 8`44 PM 
To: [EMAIL PROTECTED]
Subject: [SLUG] CGI

Hi,

Ok I think I have gotten to a point where the squid-cgi (or cachemgr.cgi) 
is working, however I am not able to connect, and I am getting a "You are 
not authorized to view this page You might not have permission to view this 
directory or page using the credentials you supplied." error. Could someone 
please tell me which files may be setup incorrectly in order to give me 
access...I have added the following to my srm.conf file:

ScriptAlias /cgi-bin/ /usr/local/cgi-bin/

and this to my access.conf file:

<Location /Squid/cgi-bin/cachemgr.cgi>
order deny,allow
deny from all
allow from 192.168.0.1
</Location>

is this all I need??

Adam.



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Searching for "A Better Way" to a home loan ?. Call RAMS on 13 7267, or go to 
http://www.rams.com.au

The e-mail and any attachments may contain confidential information.  If you receive 
it in error you must not use or disclose the information. You must tell us and delete 
it. We do not waive any legal privilege by sending it. RAMS does not promise that the 
email is free from virus defect or error.
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to