[CentOS] (c 5.6) Running 2 versions of Apache ?

Always Learning

centos at u61.u22.net
Fri Sep 2 01:52:50 UTC 2011


On Mon, 2011-08-29 at 16:24 -0400, John Hinton wrote:

> If you can get a good list of what is requested, such as the one started 
> above, and 'if' none of those pages exist, you can use modrewrite to 
> redirect them to 127.0.0.1. :) Effectively sending the request back to 
> themselves. That irritates them. Can be done on a per domain basis or 
> serverwide for those regular attempts into what might exist on any 
> server. For instance, I regularly see phpmyadmin references. I don't run 
> that on any servers, but they come looking.

Thank you.

I've done it server-wide which extends protection to the virtual hosts.

  RedirectMatch 301 ^(.*)admin(.*)$   http://127.0.0.1/hacker-alert

Paul.





More information about the CentOS mailing list