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

From: Odhiambo Washington <wash@dont-contact.us>
Date: Fri, 18 Nov 2005 07:56:07 +0300

* On 17/11/05 22:45 -0200, Francisco Lopes wrote:
> Hello,
>
> So I'm trying to get Squid working for myself only, on a remote
> FreeBSD server I have. I'm using this configuration file:
>
> http_port 9876
> tcp_outgoing_address 66.43.83.13
>
> hierarchy_stoplist cgi-bin ? php asp
> acl QUERY urlpath_regex cgi-bin \? php asp
> no_cache deny QUERY
>
> authenticate_program /usr/local/libexec/squid/ncsa_auth /usr/local/etc/squid/passwd

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 ;)

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.

> I installed Squid using the ports system, and I also already tried to
> reinstall the ncsa_auth individually using the ports too.
>
> # make
> # make install
> /bin/sh ../../../cfgaux/mkinstalldirs /usr/local/libexec/squid
> install -c -s -o root -g wheel -m 555 ncsa_auth /usr/local/libexec/squid/ncsa_auth

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

> > Does anyone have any idea what I'm doing wrong?

Sure, you simply did not read and pay attention to the already given
examples.

-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Intolerance is the last defense of the insecure.
Received on Thu Nov 17 2005 - 21:56:12 MST

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