mod_access_rbl is a superset replacement for mod_access. Both modules cannot be used at the same time.
Source and a readme file are available from http://www.blars.org/mod_access_rbl.tar.gz (This document is more up to date than the README.)
This document is aimed at people already familiar with compiling, installing, and configuring Apache httpd. Please refer to the Apache documentation if your are not familiar with it.
allow via dns-server deny via dns-serverthat can be used anywhere other allow and deny statements can be. The dns-server can be any dns server that answers queries like the MAPS RBL server. (The IP address of the client, with the quads reversed, is prepended before any dns lookup. If an address is returned, there is a match.)
order allow,deny allow from all deny via rbl.maps.vix.comThis will deny all requests from systems listed in the MAPS RBL. See http://mail-abuse.org/rbl/ for details on the MAPS RBL project.
If you would rather give a warning prepended to your document than an error, it should be possible to make your 403 error page a CGI script that does what you want. Details on how to do so is beond the scope of this document.
Impact when not using this new feature should be negligible.