Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-02-2004, 11:09 AM   #1
Registered: Jun 2003
Distribution: Redhat
Posts: 87

Rep: Reputation: 15
Setup Squid question...

Hi all,
First, let me tell you this link:
I read that and did the following steps:
1. Create The Password File
[root@bigboy tmp]# touch /etc/squid/squid_passwd
[root@bigboy tmp]# chmod o+r /etc/squid/squid_passwd

2. Add Users To The Password File
Use the htpasswd program to add users to the password file. In this case we add a username called “www”. You can add users at anytime without having to restart Squid.
[root@bigboy tmp]# htpasswd /etc/squid/squid_passwd www
New password:
Re-type new password:
Adding password for user www
[root@bigboy tmp]#

3. Locate Your ncsa_auth File·
First you need to locate were ncsa_auth is located with the locate command.
[root@silent RPMS]# locate ncsa_auth
[root@silent RPMS]#

4. Simple User Authentication Example

# Add this to the auth_param section of squid.conf
auth_param basic program /usr/lib/squid/ncsa_auth /usr/etc/passwd
# Add this to the bottom of the ACL section of squid.conf
acl ncsa_users proxy_auth REQUIRED
# Add this at the top of the http_access section of squid.conf
http_access allow ncsa_users

I did above steps and and restarted Squid and it does not work(show page can not be found on IE). seem to me that my computer can not access to this proxy server. I know nothing worng with my comp setting(tested with other proxy with the same port). I checked the squid.log and it say ready to accept connection. Not sure what steps did I miss? Any idead?

thank you


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid firewall setup cortj Linux - Networking 9 10-11-2006 05:05 AM
Basic Squid setup help GraemeK Linux - Networking 3 06-10-2005 01:15 PM
Squid setup for ISP how-to? crocks21 Linux - Networking 1 05-25-2005 12:19 AM
Please help me on my squid 2.5 setup wennie Linux - General 8 11-04-2004 12:17 PM
Setup squid behind another proxy Salihou Linux - Networking 0 01-06-2004 09:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration