Hallo! Du (g.waraich) hast geschrieben:
> Greeting to all you guys. I have just put squid-1.1.10 on our
>proxy server in Indian Institute of Technology of Bombay (India) and it is
>running very fine. According to the institute policies, i have succeeded
>in restricting the certain site deemed unfit by using Ian's (remember tin)
>redirector suite of 2 perl script.
>How can i stop pictures from being downloaded with squid. We have to do
>this because of low-bandwith and other problems. With CERN httpd, i could
>do it with PICTURE_PROT in caching.conf.
Hmmm. this directive is unknown to me, but CERN is a long time ago
for me ;-)
The lines below prevent from getting *.gif *.jpg *.zip ... -files
# acl aclname urlpath_regex \.gif$ ... # regex matching on URL path only
acl images urlpath_regex \.gif$ \.jpg$
acl binaries urlpath_regex \.zip$ \.gz$ \.Z$
http_access deny images binaries
http_access allow all
Cord
-- Cord Beermann http://home.pages.de/~cord/ cord@Wunder-Nett.org IRC: Cord@Wunder-NettReceived on Tue May 27 1997 - 02:09:19 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:16 MST