[CentOS] SQUID access URL and Port

Mon Nov 13 06:13:37 UTC 2006
Alexey Loukianov <aloukianov at lavtech.ru>

Greetings, Adriano.

10 ?????? 2006 ?., 22:34:55 you have wrote:
> I am using ACL for user access Internet  by SQUID, but I need all users
> access site http://sivolks1.volkswagen.com.br:5169/indexteste.html.

> How do it ?

Assuming your users are on subnet 192.168.0.0/24, this should go to
the squid.conf to the place where are all the acls defined:

acl aero url_regex -i http://sivolks1\.volkswagen\.com\.br:5169/indexteste\.html
acl lan_users src 192.168.0.0/255.255.255.0

And this should go to squid.conf just after
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
# And finally deny all other access to this proxy

http_access allow lan_users this_site

After modifying:

[someuser at somehost pwd]# squid -k parse
[someuser at somehost pwd]# service squid reload

-- 
Best Regards,
 Alexey Loukianov                          mailto:aloukianov at lavtech.ru

Software Development Department,
Lavtech Corp
http://mnogo.ru, http://lavtech.ru