LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setup Squid question... (https://www.linuxquestions.org/questions/linux-newbie-8/setup-squid-question-176951/)

hct224 05-02-2004 10:09 AM

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


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