Re: (c 5.6) Running 2 versions of Apache ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux