View Single Post
Old 10-07-2007, 05:35 PM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by qxm View Post
This would actually be helpful........anyone with an .htacess code please post it here. It is a small step but it is better than just complaining and doing shit...
I'm pretty sure 'Zango' is an identifier in the user agent. I haven't actually tested for it, as I do not have an infected system, nor will I create one on purpose without a personal or monitary reason.

This should work. change nozang.php to whatever you like; this example passes url=where_they_came_from, so you can log it for your own records, or whatnot.

You can add this to your .htaccess; This one is set to redirect anyone that has a user agent set to zango
Code:
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{HTTP_USER_AGENT} Zango [NC]
  RewriteRule (.*) http://site/where/nozang.php?URL=$1 [R=302,L]
</IfModule>
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote