I have somebody or some people who are abusing a Perl based .cgi script.
I have written a PHP page which reports this abuse as per
$_SERVER[REMOTE_ADDR]. My intentions were to replace the .cgi script
with this .php script. Problem is these people are coming in with some
web crawler or something like that (i.e. wget
http://myserver.com/thescript.cgi). Now if I replace thescript.cgi with
thescript.php they will not hit it. And if I replace thescript.cgi with
my PHP page, because it's not a Perl script yet ends in .cgi Apache is
saying "Exec format error: exec of '/path/to/script/thescript.cgi'
failed". Is there a way I can configure Apache or otherwise have
thescript.cgi execute PHP code (without crippling other .cgi Perl
scripts on my site)?
--
Why do you always turn down your radio when looking for an address?