Has anyone used RewriteEngine to block /lib/adodb_lite/adodb-perf-module.inc.php

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
replytomk3

Has anyone used RewriteEngine to block /lib/adodb_lite/adodb-perf-module.inc.php

Post by replytomk3 »

Has anyone used ModRewrite to block "/lib/adodb_lite/adodb-perf-module.inc.php"? People who have nothing better to do still hit the site with this. I would like to send them where they belong.

If noone has an already working solution, I will look at the RewriteEngine documentation and figure it out.
User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Has anyone used RewriteEngine to block /lib/adodb_lite/adodb-perf-module.inc.php

Post by blast2007 »

I can't understand where is the problem with that file...

It's a class define (inaccessible via via  get or post) and on top of it you can read

Code: Select all

if(!defined('CMS_VERSION')) die('Attempt to use ADODB from outside of CMS');
It's a safe file. I know, it's annoying to see entries in apache log but, who cares?

You can still protect your /lib/adodb_lite with .htaccess from direct call with

Code: Select all

order deny,allow
deny from all
regards
blast
replytomk3

Re: Has anyone used RewriteEngine to block /lib/adodb_lite/adodb-perf-module.inc.php

Post by replytomk3 »

I was asking what the syntax is to catch anyone trying the attack. And I want to block them before they even enter the site. Now, I am also getting several other attack methods as well (aedating, /////, etc).
Post Reply

Return to “The Lounge”