GlowHost Web Hosting Forums  

Go Back   GlowHost Web Hosting Forums > In The Lounge > Programming Talk
Register Forum FAQ Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-01-2005
Junior Web Sage
 
Join Date: Feb 2005
Posts: 10
Rep Power: 0
Raven is on a distinguished road
Default Santy Worm Got You Down?

If you use Apache, add this code to your.htaccess file:
Code:
#Check for Santy Worms and redirect them to a fake page
RewriteCond %{HTTP_USER_AGENT} ^LWP			 [NC,OR]
RewriteCond %{REQUEST_URI} ^visualcoders		 [NC,OR]
RewriteCond %{QUERY_STRING} rush=([^&]+)		 [NC,OR]
RewriteCond %{REQUEST_URI} ^envidiosos			[NC,OR]
RewriteCond %{REQUEST_URI} ^civa				 [NC,OR]
#variant-6 redirect all inner http:// request
RewriteCond %{QUERY_STRING} ^(.*)http://(.*)	[NC,OR]
#variant-7 redirect all inner http request regardless if encoded
RewriteCond %{QUERY_STRING} ^(.*)http%3A%2F%2F(.*) [NC]
RewriteRule ^.*$ http://127.0.0.1 [R,L]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:12 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO
Copyright 2000-2007 GlowHost.com