[Comm] SQUID ACL ÞÕÄÅÓÁ

Olexander Chernetskyy =?iso-8859-1?q?sp=5Farcher_=CE=C1_meta=2Eua?=
÷Ô æÅ× 17 22:32:42 MSK 2009


> On Wednesday 18 February 2009 00:09:30 Olexander Chernetskyy wrote:
>> > On Tuesday 17 February 2009 23:39:36 Olexander Chernetskyy wrote:
>> >> > On Tuesday 17 February 2009 23:12:10 Olexander Chernetskyy wrote:
>> >> >> > On Tue, 17 Feb 2009 18:53:30 +0200 (EEST)
>> >> >> >
>> >> >> > Olexander Chernetskyy wrote:
>> >> >> >> ...
>> >> >> >> acl Compress_reg url_regex -i "/etc/squid/block/compress.regex"
>> >> >> >> ...
>> >> >> >> ÷ compress.regex ÍÎÏÇÏ ÓÔÒÏË ÐÏÈÏÖÉÈ ÎÁ ÜÔÉ:
>> >> >> >> ...
>> >> >> >> \.com$
>> >> >> >> ...
>> >> >> >> åÓÌÉ ÐÏÓÍÏÔÒÅÔØ ×ÎÉÍÁÔÅÌØÎÏ, ÔÏ google.com ÄÏÌÖÅÎ ÂÙ
>> >> >> >> ÂÌÏËÉÒÏ×ÁÔØÓÑ....
>> >> >> >
>> >> >> > ðÏÞÅÍÕ? URL http://www.google.com/ ÄÁÎÎÏÍÕ ÒÅÇÕÌÑÒÎÏÍÕ ×ÙÒÁÖÅÎÉÀ
>> >> >> > ÎÅ ÕÄÏ×ÌÅÔ×ÏÒÑÅÔ. ÷ ÏÔÌÉÞÉÉ ÏÔ, ÎÁÐÒÉÍÅÒ,
>> >> >> > http://www.google.com/search?q=google.com
>> >> >>
>> >> >> ÷ ÓÍÙÓÌÅ ÓÌÅÛ × ËÏÎÃÅ google.com ?
>> >> >> ïÔËÕÄÁ ÏÎ ÂÅÒÅÔÓÑ? ñ ÖÅ ÅÇÏ ÎÅ ××ÏÖÕ × ÁÄÒÅÓÎÏÊ ÓÔÒÏËÅ.
>> >> >
>> >> > ÄÁ ×ÒÏÄÅ ËÁË ÓÔÁÎÄÁÒÔ ÔÁËÏÊ ;) ÜÔÏ ÖÅ ËÁË ËÏÒÅÎØ, ÓÌÜÛ ÏÂÑÚÁÔÅÌÅÎ,
>> >> > × ÏÔÌÉÞÉÅ ÏÔ ÐÒÏÞÉÈ ÓÉÔÕÁÃÉÊ, ÔÉÐÁ ÉÍÅÎÉ ÆÁÊÌÁ
>> >> > www.site.com/index.html ÉÌÉ ÓÓÙÌÏË Ó ÐÁÒÁÍÅÔÒÁÍÉ (ÓÍ. ×ÙÛÅ)
>> >>
>> >> ô.Å. ÜÔÏÔ ÓÌÅÛ ÂÒÁÕÚÅÒ ÓÁÍ ÄÏÂÁ×ÌÑÅÔ, É ÔÏÌØËÏ ÐÏÔÏÍ ÏÔÐÒÁ×ÌÑÅÔ ÌÉÎË
>> >> ÓË×ÉÄÕ?
>> >>
>> >> ôÏÇÄÁ ËÁË ÒÁÚÒÕÌÉÔØ ÜÔÕ ÓÉÔÕÁÃÉÀ? þÔÏÂÙ É ×ÓÑËÕÀ ÇÁÄÏÓÔØ × ËÏÍ-ÆÁÊÌÁÈ
>> >> ÎÅ ËÁÞÁÌÉ, É ÞÔÏÂÙ ÎÁ ÇÕÇÌÅ×ÓËÕÀ ÐÏÞÔÕ ÂÅÚ ÐÒÏÂÌÅÍ ÈÏÄÉÌÉ.
>> >
>> > ÉÍÈÏ, ËÁË ÏÂÙÞÎÏ - ÓÎÁÞÁÌÁ ÓÏÚÄÁÅÍ ÒÁÚÒÅÛÁÀÝÉÊ ACL ÎÁ ËÏÎËÒÅÔÎÏ
>> > google.com,
>> > ÎÁÐÒÉÍÅÒ (.)*google\.com(.)* × ÏÔÄÅÌØÎÏÍ ÆÁÊÌÅ, ÐÏÔÏÍ × ËÏÎÆÉÇÅ
>> > ÐÒÏÐÉÓÙ×ÁÅÍ allow ÄÌÑ ÜÔÏÇÏ ACL, ÎÏ ÔÏÌØËÏ ÏÂÑÚÁÔÅÌØÎÏ ÐÅÒÅÄ ÚÁÐÒÅÔÏÍ.
>> > éÓÈÏÄÑ ÉÚ ÌÏÇÉËÉ ÐÒÏÓÍÏÔÒÁ ÐÒÁ×ÉÌ ÐÒÉ ÐÅÒ×ÏÊ ÓÒÁÂÏÔËÅ ÐÒÏ×ÅÒËÁ
>> > ÏÓÔÁÌØÎÙÈ ÐÒÅËÒÁÝÁÅÔÓÑ, ÚÎÁÞÉÔ, ÄÏÌÖÎÏ ÓÒÁÂÏÔÁÔØ ÒÁÚÒÅÛÅÎÉÅ, ËÏÔÏÒÏÅ
>> > ÄÁÅÔ ×ÅÒÏÑÔÎÏÓÔØ ÓËÁÞËÉ ËÁËÏÊ-ÎÉÂÕÄØ ÇÁÄÏÓÔÉ Ó ÇÕÇÌÅ×ÓËÏÊ ÐÏÞÔÙ :)
>> >
>> > ÞÔÏ-ÔÏ × ÜÔÏÍ ÒÏÄÅ...
>>
>> ðÏ-ÍÏÅÍÕ ÎÅ ÐÏÌÕÞÉÔÓÑ. õ ÍÅÎÑ × ÎÁÞÁÌÅ ÉÄÕÔ http_access deny, ÐÏÔÏÍ ÅÓÌÉ
>> ÎÉ ÏÄÎÏ ÉÚ deny ÎÅ ÓÒÁÂÏÔÁÌÏ, ÉÄÅÔ Á×ÔÏÒÉÚÁÃÉÑ. åÓÌÉ ÕÇÁÄÁÌ ÌÏÇÉÎ É
>> ÐÁÒÏÌØ - ×ÅÌËÁÍ × ÉÎÅÔ. ðÏÜÔÏÍÕ, ÅÓÌÉ Ñ ÐÏÓÔÁ×ÌÀ × ÓÁÍÏÍ ÎÁÞÁÌÅ
>> ÒÁÚÒÅÛÅÎÉÅ ÔÏ ËÔÏ ÎÉ ÐÏÐÁÄÑ ÂÅÚ Á×ÔÏÒÉÚÁÃÉÉ ÐÏÐÁÄÅÔ × ÉÎÅÔ.
>
> Á ÓÒÁÚÕ Á×ÔÏÒÉÚÁÃÉÀ ÎÉËÁË? ÚÁÞÅÍ ÏÇÏÒÏÄ ÇÏÒÏÄÉÔØ ÔÁËÏÊ?
>
îÕ ÔÁË ÅÓÌÉ × ÎÁÞÁÌÅ Á×ÔÏÒÉÚÁÃÉÑ ÂÕÄÅÔ http_access allow, ÔÏ ÐÏÓÌÅ ÎÅÅ
ËÁËÉÅ deny?

-- 
Best regards,
ArCher




ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ community