I used to use an Apache RewriteRule on a couple of my websites to
redirect to external websites, e.g.:

   RewriteRule  /external/(.*)  $1

This strips off the prefix "/external/" and redirects to whatever
follows.  I used this to get a trace in the access log of outbound
links.  What I had not considered is that it allows anyone to create
links that appear to be on my sites, but which redirect to other
(usually porn) sites... which got picked up by the "stopbadware"
program.

I had this feature on my site for almost a decade, and was initially
surprised when I found that it was abused.  I suppose I could put a
RewriteCond around the rule, or maintain a list of offsite-links that
are allowed.  The thing is that my site content is mirrored by sites
that I don't know about and having a link to "http://cronolog.org/
external/http://somewhere-else/..."; meant that through the referrer
information I got some stats about what those other sites were.

Oh well, it was nice while it lasted.

Andrew Ford


--~--~---------~--~----~------------~-------~--~----~
You received this message through the Google Groups "stopbadware" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/stopbadware?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to