Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Proxy Authentication

    This is vishal.I have configured Squid 2.3 Stable5 with inbulild NCSA authentication program.Its working fine.I have blocked some sites also.That is also working.
    Now i have an query that I dont want authentication for some sites.
    For example,i donot want authentication for but except this site i want authentication for all other sites.

    is it possible?
    if possible what acl should be there?

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    how bout something like (replacing my stuff with your paths)
    auth_param basic program /usr/lib/squid/ncsa_auth /usr/local/apache2/wwwpass
    auth_param basic children 5
    auth_param basic realm proxy server
    auth_param basic credentialsttl 2 hour
    acl SitesAllowed dstdomain "<path>/SitesAllowed"
    acl password proxy_auth REQUIRED
    http_access allow SitesAllowed
    http_access allow password
    http_access deny all

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts