Hi Vasudeva,
It is possible to do what you have mentioned in the mail.... Following is the configuration that is working in my system....
1. Make a file (eg: /tmp/allowedsites) that contain urls of allowed sites. 2. Make a file eg: /tmp/allowedmachs that contain ips of allowed machines
3. edit squid.conf as follows:--
acl allowedmachs src "/tmp/allowedmachs" acl allowedsites url_regex "/tmp/allowedsites" http_access allow allowedmachs allowedsites http_access deny all
See to it that you put these lines in the ACCESS CONTROLS section in squid.conf...
It seems in your system it didnt work because you didnt mention the last line "http_access deny all"....Squid by default allows all.... The above lines will be interpreted as "allow access to selected sites by selected machines and deny others"...
regards, Sabu
_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
Quoting SABU THALIYATH bsabu@hotmail.com:
Hi Vasudeva,
...
or if you have other acls in addition to these users, try -
http_access allow allowedmachs allowedsites http_access deny allowedmachs http_access <Other ACLs>
------------------------------------------------- This mail sent through IMP: http://horde.org/imp/