Forum Moderators: phranque
I would like to assign the job of blocking IPs so someone else, but do not want to give them access to the DenyIP script that comes with cPanel as that would give them full access to everything else on the server.
I know some degree of trust would be needed, I'm also trying not to tempt fate. I've looked everywhere but either there is none or I can't use Google to find things anymore.
SetEnvIf Remote_Addr ^<user-input-IP-address>$ getout
SetEnvIf Request_URI ^(robots\.txtĤpath-to-custom-403-error-page\.html)$ special
Order Deny,Allow
Deny from env=getout
Allow from env=special
Jim
that POSTs to a cgi-script