Re[2]: [squid-users] Problem getting NSCA working on FreeBSD

From: Francisco Lopes <falmp@dont-contact.us>
Date: Fri, 18 Nov 2005 15:06:15 -0200

Odhiambo,

Thanks for your reply.

Friday, November 18, 2005, 2:56:07 AM, you wrote:
> The sample entry in the default squid.conf, from which I hope you were
> reading, says that the syntax is:

> auth_param basic program /usr/local/libexec/ncsa_auth /usr/local/etc/passwd

> So I am wondering where you got yours from ;)

In fact, sorry, I'll admit I didn't read it. I just got my previous
config file I had, which was working, and tweak it to my new settings.
I did read the manual though (see URL below), for every directive, and
that's where I got those wrong lines. I guess it's outdated (I have
Squid Cache: Version 2.5.STABLE11).

http://squid.visolve.com/squid/squid24s1/externals.htm#authenticate_program

> Try this:

> auth_param basic program /usr/local/libexec/ncsa_auth /usr/local/etc/squid/passwd
> auth_param basic children 5
> uth_param basic realm Squid proxy-caching web server
> auth_param basic credentialsttl 2 hours

> Read the sample squid.conf to know what those optionw will do.

Ok, squid loaded ok now. But when I try to surf the web with the new
proxy settings, it doesn't work. It times out. It doesn't even ask for
my login/password.

I don't know what's the problem now. I thought it maybe was my
firewall, but I added this rule before running squid (I'm running
squid on port 9876).

# ipfw list | grep 9876
01300 allow tcp from any to me 9876

Any idea? :)

> cd /usr/ports/www/squid
> make config && make install

Yeah, those were the lines I used to install squid. The lines I
previously quoted I just tried to reinstall ncsa_auth. It's all good
now anyway. :)

Regards,
Francisco
Received on Fri Nov 18 2005 - 10:06:26 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST