From: Maxwell S. <cj...@yo...> - 2010-08-31 18:38:10
|
I'll give the Apache Redirect a try. I don't want to redirect the robots, just the script kiddies. Do you think its a good idea to do this or leave well enough alone. CJ On 08/31/2010 11:31 AM, Kris Deugau wrote: > Maxwell Smart wrote: > >> I am always getting these type of errors on my server. >> >> Requests with error response codes >> 404 Not Found >> //admin/config/config.inc.php?p=phpinfo();: 1 Time(s) >> //dbadmin/config/config.inc.php?p=phpinfo();: 1 Time(s) >> //myadmin/config/config.inc.php?p=phpinfo();: 1 Time(s) >> //mysql/config/config.inc.php?p=phpinfo();: 1 Time(s) >> //php-my-admin/config/config.inc.php?p=phpinfo();: 1 Time(s) >> //phpmyadmin/config/config.inc.php?p=phpinfo();: 1 Time(s) >> //pma/config/config.inc.php?p=phpinfo();: 1 Time(s) >> > These are all automated requests from spam/virus bots looking for > obsolete (and usually insecure) versions of a variety of web-based admin > tools to break in to your server through, and then use your server to > send more junk. > > That said, if you really want to redirect them, and you're sure you'll > never need anything that uses config.inc.php, an entry in your global > Apache config: > > RedirectMatch config.inc.php / > > should do the trick. In Webmin, it looks like this would be a "Regexp > URL redirect" (on the "Aliases and Redirects" page for a vhost). > > I don't see an "Aliases and Redirects" option on the global Apache > config tab on the Webmin I just checked; I'm not sure if adding this in > the default vhost will apply globally. > > >> /robots.txt: 4 Time(s) >> > This file is usually only used by eg Google, Yahoo, or Microsoft's web > spiders to determine if they are allowed to follow links around your > site and index the content for their search clients to find. You > *really* don't want to redirect this to your index page. > > -kgd > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > -- Cecil Yother, Jr. "cj" cj's 2318 Clement Ave Alameda, CA 94501 tel 510.865.2787 | http://yother.com |