Help with proxy_auth + ncsa_auth + htpasswd

From: James A. Mutter <jmutter@dont-contact.us>
Date: Tue, 24 Aug 1999 23:05:03 -0400 (EDT)

Hi all, I'm having trouble getting proxy authentication working with
squid 2.2.

For the purposes of testing I've created a simple "squid.conf". Below
is a copy of that file:

**********

#squid.conf - a very basic config file for squid

authenticate_program /usr/local/bin/ncsa_auth
/usr/local/etc/squid.passwd

acl foo proxy_auth REQUIRED

#allow all sites to use connect to us via HTTP
http_access allow foo

#test the following sites to check that we are connected
dns_testnames internic.net usc.edu cs.colorado.edu mit.edu yale.edu

#otherwise, you can uncomment the below line and comment the one out.
# this will run as use "nobody" with the group "nogrtoup"
cache_effective_user nobody nogroup

**********

When I try to access outside sites they are all redirected to my local
webserver. For example, I try to access "foo.bar.org", my local
server returns "localhost/index.html". If I access
"foo.bar.org/blah/balh.html", my local server returns an invalid page,
as it was looking for "localhost/blah/blah.html". Oddly enough, (or
maybe not), I'm never challenged for a password to access the outside
world.

What have I missed? If someone could give me a walk through on
configuring squid to use proxy auth I would appreciate it. I've read
the FAQ and I've also read the "Squid ACL Proxy Authentication with
External Programs", I assume that I've missed something important, but
I've no idea what.

Thanks,
Jim
Received on Tue Aug 24 1999 - 21:07:18 MDT

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