RE: cachemgr.cgi ... I have tried ALL your suggestions ... no luck!

From: Alex Pikus <alex@dont-contact.us>
Date: Fri, 30 Oct 1998 10:14:21 -0600

This does NOT seem to be the problem.

Could someone volunteer to help me review my squid.conf and tell me what I am doing wrong? Please e-mail me directly.

I appreciate your help in advance.

Alex

----------
From: Jim Deitch[SMTP:jdeitch@comsys.mrms.navy.mil]
Sent: Thursday, October 29, 1998 10:41 AM
To: Alex Pikus
Cc: squid-users@ircache.net
Subject: Re: cachemgr.cgi ... I have tried ALL your suggestions ... no luck!

Maybe this ought to be in the FAQ. I found that under 1.1.22 if you have
a blank line at the end of the file (/usr/local/squid/etc/adultdomain.dat)
any and all access are blocked. Not sure why, but check to see if there
is a blank line at the end of the file.

Jim

Alex Pikus wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> What am I missing ...
>
> squid.conf
>
>
> ache_mem 10 MB
> authenticate_program /usr/local/squid/bin/ncsa_auth /usr/local/squid/etc/passwd
> authenticate_children 2
> cache_dir /proxy-cache 100 16 256
>
> cachemgr_passwd ywoo0oj all
>
> acl manager proto cache_object
> acl localLAN src 192.1.1.0/255.255.255.0
> acl localhost src 127.0.0.1/255.255.255.255
> acl password proxy_auth 30
> acl porno dstdomain "/usr/local/squid/etc/adultdomain.dat"
>
> http_access allow manager localLAN
> http_access deny manager all
> miss_access allow manager localLAN
> miss_access deny manager all
>
> http_access allow !porno password
>
> ERROR
> The requested URL could not be retrieved
>
> While trying to retrieve the URL: cache_object://localhost/
> The following error was encountered:
> Access Denied.
> Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
>
>
> result
>
> ----------
> From: Thilo Manske[SMTP:Thilo.Manske@HEH.Uni-Oldenburg.DE]
> Reply To: Thilo.Manske@HEH.Uni-Oldenburg.DE
> Sent: Wednesday, October 28, 1998 8:26 PM
> To: squid-users@ircache.net
> Subject: Re: cache mgr.cgi ... hel pne plz!
>
> In message <01BE02AE.0B5075A0@ALEX>
> Alex Pikus <alex@webexpress.net> wrote:
> > My squid.conf is asfollows:
> [...]
> > http_access deny manager !localLAN
>
> I'd take something like this instead:
>
> http_access allow manager localLAN
> http_access deny manager all
> miss_access allow manager localLAN
> miss_access deny manager all
>
> Bye,
> Thilo.
> --
> Mir ist mein Signature entlaufen :-(. Wer es findet, sende es bitte an
> Thilo.Manske@HEH.Uni-Oldenburg.DE zur_ck. Danke!
>
>
>
>

-- 
Jim Deitch                        Sr. Systems Engineer
Alpha Solutions Corp.
On-Site: Commander Naval Surface Force, U.S. Pacific Fleet
Com:  +(619)556-0332              DSN: 312-556-0332
Fax:  +(619)556-5183              DSN: 312-526-5183
Cell: +(619)806-3835              DSN: Yeah, Right!
Received on Sat Oct 31 1998 - 19:21:29 MST

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