Forum Moderators: DixonJones
Only issue now, and perhaps I should take this to the apache forum, buy my .htaccess blocking doesn't seem to be working:-
order allow,denydeny from 1.2.3.4
allow from all
Where 1.2.3.4 is the offending IP. Something obvious that I got wrong? I'm sure the allow,deny is around the right way?
Thanks!
Based upon what evidence, specifically?
Nothing wrong with your code on its face, but I find the following construct to be far more useful:
SetEnvIf Request_URI "/(custom_403\.html¦robots\.txt)$" allowit
SetEnvIfNoCase User-agent "grabber" getout
SetEnvIfNoCase Referer "iaea\.org" getout
#
Order Deny,Allow
#
Deny from 127.0.0.199
Deny from 38.0.0.0/8
Deny from env=getout
Allow from env=allowit
Replace the broken pipe "¦" character above with a solid pipe before use; Posting on this forum modifies the pipe character.
Jim