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.
Has anyone used RewriteEngine to block /lib/adodb_lite/adodb-perf-module.inc.php
Re: Has anyone used RewriteEngine to block /lib/adodb_lite/adodb-perf-module.inc.php
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
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
regards
blast
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');
You can still protect your /lib/adodb_lite with .htaccess from direct call with
Code: Select all
order deny,allow
deny from all
blast
Re: Has anyone used RewriteEngine to block /lib/adodb_lite/adodb-perf-module.inc.php
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).