[IMC-Dissent-admin] more lousy leechers
joe
joe at sl4g.com
Thu Jul 22 07:17:16 PDT 2004
Here's what Boston has been running in its vhosts config file. The
intent is that media are only served when referred to from the boston
site. There were a few improvement suggestions on imc-tech, but this is
at least a start:
RewriteCond %{HTTP_REFERER} !^http://boston\.indymedia\.org [NC]
RewriteRule (wmv|avi|mov|asf|mpg|mpeg|mp3)$ - [NC,F]
# Never serve these...
RewriteRule (rar|zip)$ - [NC,F]
On Thu, 22 Jul 2004 09:44:18 -0400, "Robert M. Meyer"
<rmeyer at buffaloimc.org> said:
> We have NO rewrite rules at the moment on dissent. I've never played
> with them. It's probably
> a good idea to add them for the sites to stop the leechers.
> Unfortunately, I've only written one
> rewrite rule in my career and couldn't competently come up with one that
> works without
> experimentation...
>
> Do you have one handy that can be plugged in?
>
> Cheers!
>
More information about the Dissent-sysadmin
mailing list