RU/2: Форум. Общение пользователей и разработчиков OS/2 (eCS). : Ответить на сообщение
Имя:
e-mail:
FIDO:
Home page:
сохранить данные о вас
Тема:
> > Можно ли с помощью squid/jesred блокировать доступ к контенту на основании заголовка Content-Type? > Короткий квалифицированный ответ: да ;) > > > Конкретнее, запретить обращаться к ресурсам с Content-Type: AIM/HTTP > [/etc/squid.conf.default] > # acl aclname rep_mime_type mime-type1 ... > # # regex match against the mime type of the reply recieved by > # # squid. Can be used to detect file download or some > # # types HTTP tunelling requests. > # # NOTE: This has no effect in http_access rules. It only has > # # effect in rules that affect the reply data stream such as > # # http_reply_access. > Это 2.5stable3, но, вроде и stable1 тоже было. Более ранние - нынаю > Плюс, есть "external acl", которые, как я понимаю, можно делать на чём угодно, включая рекс/перловку.
__, _,_ __, _,_ _,
|_) | | | \ | / /_\
| \ | | |_/ |/ | |
~ ~ `~' ~ ~ ~ ~
Programmed by
Dmitri Maximovich
,
Dmitry I. Platonoff
,
Eugen Kuleshov
.
25.09.99 (c) 1999,
RU/2
. All rights reserved.
Rewritten by
Dmitry Ban
. All rights ignored.