or=red>Question</font>: Is it possible to configure <code>mod_geoip</code> to block connections from a geographic region <i>for a specific user</i>?<br>
<font color=blue>Answer</font>: Yes, in conjunction with the <a href="./mod_ifsession.html"><code>mod_ifsession</code></a> module.

<p>
To do this, you would configure <code>mod_geoip</code> as normal, and then
have an <code>&lt;IfUser&gt;</code> section like so:
<pre>
  &lt;IfModule mod_geoip.c&gt;
    GeoIPEngine on
    GeoIPLog /var/log/proftpd/geoip.log