In message <_A4242@delegate-en.ML_> on 11/30/08(03:06:28)
you Jeff <firstname.lastname@example.org> 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 <email@example.com> http://delegate.org/y.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