Try:
acl 81 port 81
acl restirct_url url_regex -i ^ http://www.whatever.com
<http://www.whatever.com> # regex matching on whole URL
http_access allow 81 restrict_url
http_access deny 81
Best regards,
Ilker G.
-----Özgün Ileti-----
Kimden: Palmer J.D.F. [mailto:J.D.F.Palmer@Swansea.ac.uk]
Tarih: Thursday, April 12, 2001 1:36 PM
Kime: squid-users@squid-cache.org
Konu: [squid-users] Restricting access on specific ports.
Hi,
I have a URL www.me.far.so:81 <http://www.me.far.so:81/>
I have put 81 into the safe ports list and I now have access to this site
through squid.
This obviously leaves port 81 open, this is probably not that much of a
travesty but I would like to know if there is any way that I can restrict
access to port 81 to only specific URLs?
Many thanks in advance,
Jezz Palmer.
****************************************
Jezz Palmer.
Internet Systems Officer.
Library and Information Services
University of Wales, Swansea
Singleton Park
Swansea
SA2 8PP
Tel 01792 513260
****************************************
Bu e-postada bulunan tüm fikir ve görüsler ve ekindeki dosyalar sadece adres
sahib(ler)ine ait olup, Sümerbank A.S hiç bir sekilde sorumlu tutulamaz.
The information contained in this E-Mail and any files transmitted with it
are intended solely for the use of the individual or entity to whom they are
addressed and do not reflect those of Sumerbank A.S.
Received on Thu Apr 12 2001 - 04:54:46 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:17 MST