Forum Moderators: phranque
However, this still costs us some bandwidth. What we would like to do is close the connection without even responding to any bad's visitor request. Bad visitor is detected by examining the user, and/or referrer, or requested URI (never by examining the IP address).
Is this possible to do on Apache 1.3.27 (running on Red Hat)? Thanks in advance.
Otherwise, you can internally rewrite the request to a special subdirectory which contains its own unique blank 403 ErrorDocument, and declare that ErrorDocument in .htaccess in that subdirectory.
I'm not aware of how to suppress the response at the server level. There may be a way to do it; maybe someone who's experimented with this will post.
Jim