ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] про Сквид и время запуска
@ 2001-02-12 12:14 Kataev Andrey
  2001-02-12 12:52 ` [mdk-re] " Maxim Savrilov
  0 siblings, 1 reply; 2+ messages in thread
From: Kataev Andrey @ 2001-02-12 12:14 UTC (permalink / raw)
  To: MANDRAKE-RUSSIAN, BlackCat List

Спрашивал я уже разок но ответа не получил...
Как заставить acl по времени отрабатывать разные правила?

acl worktime time 06:00-13:00
acl funtime time 13:01-23:59
acl mp3 url_regex -i "/etc/squid/mp3"
http_access allow mp3 funtime
http_access deny worktime mp3
deny_info ERR_ACCESS_DENIED mp3
вот такие правила в надежде, что с 6 до 13 доступ к списку перечисленному в "/etc/squid/mp3" будет закрыт
а в остальное время - открыт. 
так получается что он закрыт всегда, что не есть правильно...
Куда рыть?
-- 
br



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [mdk-re] Re: [mdk-re] про Сквид и время запуска
  2001-02-12 12:14 [mdk-re] про Сквид и время запуска Kataev Andrey
@ 2001-02-12 12:52 ` Maxim Savrilov
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Savrilov @ 2001-02-12 12:52 UTC (permalink / raw)
  To: mandrake-russian

Kataev Andrey wrote:

> Спрашивал я уже разок но ответа не получил...
> Как заставить acl по времени отрабатывать разные правила?
>
> acl worktime time 06:00-13:00
> acl funtime time 13:01-23:59
> acl mp3 url_regex -i "/etc/squid/mp3"
> http_access allow mp3 funtime
> http_access deny worktime mp3

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
может быть, дело в том, что формат у этих строк разный?

>
> deny_info ERR_ACCESS_DENIED mp3
> вот такие правила в надежде, что с 6 до 13 доступ к списку перечисленному в "/etc/squid/mp3" будет закрыт
> а в остальное время - открыт.
> так получается что он закрыт всегда, что не есть правильно...
> Куда рыть?
> --
> br

--
Скоро пойдем в набег.
Maxim Savrilov  http://www.novocybersk.ru/
--






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-12 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-12 12:14 [mdk-re] про Сквид и время запуска Kataev Andrey
2001-02-12 12:52 ` [mdk-re] " Maxim Savrilov

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