Forum Moderators: phranque
Is there a way to block a request?
NO!
You may deny access, however the requests will still take place and the requests (not access; i.e, 200) will still appear in your visitor logs.
Please note; both of the below require additional lines of data:
SetEnvIfNoCase Referer topsites keep_out
or
RewriteCond %{HTTP_REFERER} topsites [OR]
SetEnvIfNoCase Request_URI "^/topsites" keep_out
or
RewriteCond %{REQUEST_URI} ^/topsites [OR]
You could conceivably ask your host to completely block these access attempts at the server firewall. However, many firewalls don't have the capability to block per-URL, and hosts generally will only add blocks to the firewall when the abuse level rises to that of a Denial-Of-Service attack, or if it affects many sites on the same physical server.
Jim