One of my sites is on a hosted cpanel, where I have no access to root, I don't have CSF etc etc.
It has a CGI script that allows for a user to leave a comment, however, it seems that I'm under some sort of bot attack.
I thought that I'd get clever by renaming the CGI file and updating any calls for this file.
This worked in the respect that the bots are no longer making updates to the comments.
However, they are still hitting the site.
Rather than trying to add each and every subnet which comes, I'd like to try and block all IP's which call for the old CGI file.
Is this possible with .HTACCESS ??
It has a CGI script that allows for a user to leave a comment, however, it seems that I'm under some sort of bot attack.
I thought that I'd get clever by renaming the CGI file and updating any calls for this file.
This worked in the respect that the bots are no longer making updates to the comments.
However, they are still hitting the site.
Rather than trying to add each and every subnet which comes, I'd like to try and block all IP's which call for the old CGI file.
Is this possible with .HTACCESS ??