* [Comm] TROUBLE WITH SQUID
@ 2005-09-14 23:28 Alexey S. Kuznetsov
2005-09-14 13:35 ` Michael Popov
2005-09-14 13:36 ` Alexey Morsov
0 siblings, 2 replies; 3+ messages in thread
From: Alexey S. Kuznetsov @ 2005-09-14 23:28 UTC (permalink / raw)
To: community
Привет всем!
У меня сложилась такая непонятная ситуация со сквидом.
Короче нужно заблокировать кое-какие сайты, чтобы жена по ним не
лазила. Дело очень серьйзное! А вот сквид меня подводит!
Делаю следующее:
в /etc/squid/squid.conf пишу:
acl sites url_regex "sites.acl"
этот файл sites.acl лежит в /etc/squid/.
в нём лежит:
^http://somesite\.com
^http://www\.sitesameasabove\.com
www\.sitesameasabove2\.com
http://another\.site\.com
после того, как я созал этот файл, я написал в
/etc/squid/squid.conf ещё такую штуку:
http_access allow clients1 !sites
http_access deny sites
http_access deny all
Вроде всё заработало!
Но после рестарта сквида эти сайты опять начинают работать.
Пару раз если сквид дёрнуть, то возможно опять начинает работать.
Чё это вообще за глюки? Кто-нибудь сталкивался?
--
Sincerely,
Alexey S. Kuznetsov
AK2351-RIPE
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-14 23:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-14 23:28 [Comm] TROUBLE WITH SQUID Alexey S. Kuznetsov
2005-09-14 13:35 ` Michael Popov
2005-09-14 13:36 ` Alexey Morsov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git