LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 15
Setup Squid question...


Hi all,
First, let me tell you this link: http://www.siliconvalleyccie.com/lin...m#_Toc56623488
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
/usr/lib/squid/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
 
  


Reply


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 04:05 AM
Basic Squid setup help GraemeK Linux - Networking 3 06-10-2005 12:15 PM
Squid setup for ISP how-to? crocks21 Linux - Networking 1 05-24-2005 11:19 PM
Please help me on my squid 2.5 setup wennie Linux - General 8 11-04-2004 11:17 AM
Setup squid behind another proxy Salihou Linux - Networking 0 01-06-2004 08:45 AM


All times are GMT -5. The time now is 02:49 PM.

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