Article delegate-en/4243 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Reverse Proxy question
29 Nov 2008 18:28:27 GMT (Yutaka Sato)
The DeleGate Project

In message <_A4242@delegate-en.ML_> on 11/30/08(03:06:28)
you Jeff <> wrote:
 |Ok, rather embarrassingly I noticed now that I was running 9.7.7. I

orz <- this is an ASCII art widely used in Japan representing a man
       deeply disappointed :p

 |One last question, I can't seem to find any way in the documentation to
 |filter specific URLs.
 |The problem is, some users are requesting a high bandwidth URL and I need to
 |filter it. For example, assume that I know the format of a URL to load video
 |files. I just want users to be able to load the text page with no
 |multimedia. So an example would be something like: FILTER_URL=*video.avi* or
 |FILTER=*media.php*. I hope this makes sense..
 |So in summary, that would be to reject or deny certain URLs but "permit all"
 |on the rest i.e. selective exclusion/rejection based on URL pattern

It can be done by MOUNTing them with the "forbidden" option as this:

  MOUNT="*%Svideo.avi = forbidden"
  MOUNT="*%Smedia.php%S = forbidden"

  9 9   Yutaka Sato <>
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]