ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Алексей Шенцев" <ashen@nsrz.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] squid & избирательный запрет/доступ к медиа-файлам.
Date: Tue, 17 Mar 2009 15:13:45 +0300
Message-ID: <200903171513.45943.ashen@nsrz.ru> (raw)

Всем привет!
В squid'e сделал запрет на получение из инета медиа-файлов:
cat squid.conf | grep media
acl media urlpath_regex -i \.mp3$ \.wav$ \.avi$ \.mpeg$ \.ra$ \.wma$  \.m3u$ 
\.asx$
http_access deny all media

Но вот один из руководителей. хочет слушать радио, через инет. 
Как всем запретить, а ему разрешить?
Такое:
http_access alow _ip-клиента_ media
Прокатит?
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

             reply	other threads:[~2009-03-17 12:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-17 12:13 Алексей Шенцев [this message]
2009-03-17 13:16 ` Timur Batyrshin
2009-03-17 14:00 ` Alexey Morsov
2009-03-17 14:02   ` Алексей Шенцев

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=200903171513.45943.ashen@nsrz.ru \
    --to=ashen@nsrz.ru \
    --cc=sysadmins@lists.altlinux.org \
    /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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git