FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General Coding/Development
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 10-09-2010, 12:02 PM   Postid: 178965
labguy
Registered User

Forum Notability:
0 pts: Even-handed
[Post Feedback]
 
Join Date: Oct 2010
Location: Spokane, WA
Posts: 1
How to use htaccess to block request

Hello,

Does anyone know how to block these type of requests using htaccess?

http://www.mysite.comhttp://gomarketcity.com/cgi-bin/ip.cgi
http://www.mysite.comhttp://gomarketcity.com/cgi-bin/ip.cgi
http://www.mysite.comhttp://makeabank.com/faq.cgi
http://www.mysite.comhttp://proxyjudge1.proxyfire.net/fastenv


Also, is there a specific name for this type of "probing"?

I started by blocking the host, but they keep rotating IP's...futile. My next thought was to block all "*.cgi" requests since I don't use cgi's. Maybe something like this:

RewriteRule .*\.cgi$ - [NC,F]

A better approach would be to detect the appended "http://", but that is where my htaccess abilities stop.

Any ideas would be appreciated.

Jeff
labguy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:13 PM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.