From: Mike Lykov <combr@vesna.ru> To: community@altlinux.ru Subject: Re: [Comm] запретить протокол AIM/HTTP на squid Date: Thu, 18 Dec 2003 08:18:07 +0400 Message-ID: <200312180818.07578.combr@vesna.ru> (raw) In-Reply-To: <20031218084840.49c84833.dima@sakhalin.ru> В сообщении от Четверг 18 Декабрь 2003 02:48 Dmitry Lebkov написал: > > > acl noicq req_mime_type -i ^AIM/HTTP$ > > acl noicq2 rep_mime_type -i ^AIM/HTTP$ > > причем там точно есть : > > (ответ сервера iht-d01.icq.com) > > Server: AIM HTTP/1.0 (aim_http_proxy) Content-Type: AIM/HTTP > Дык если я всё правильно понял, Я не знаю ;) ответ сервера не подходит под > твой regexp. '^AIM/HTTP$' означает: "искать строку, состоящуюю > _только_ из AIM/HTTP". Дело в том, что _вроде как_ параметр rep_mime_type должен учитывать только то, что идет в поле content-type, а там именно "только AIM/HTTP" > man 7 regex vi squid.conf ? ;) > '^AIM/HTTP$' echo "Server: AIM HTTP/1.0 (aim_http_proxy) Content-Type: > AIM/HTTP"|grep 'AIM/HTTP$' _______________________________________________ но попробовать убрать ^$ стОит ;) -- Mike
prev parent reply other threads:[~2003-12-18 4:18 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-12-17 13:16 Mike Lykov 2003-12-17 13:24 ` Ilia Menchikh 2003-12-17 13:28 ` Mike Lykov 2003-12-17 13:37 ` Mike Lykov 2003-12-17 22:48 ` Dmitry Lebkov 2003-12-18 4:18 ` Mike Lykov [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200312180818.07578.combr@vesna.ru \ --to=combr@vesna.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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