I was wondering if it's possible to configure GeoIP globally via the main httpd/apache.conf

I've inserted this code in apache.conf:

<IfModule mod_geoip.c>
GeoIPEnable On

GeoIPDBFile /usr/share/GeoIP/GeoIP.dat

RewriteCond %{HTTP_USER_AGENT} !googlebot|Msnbot|Slurp|Teoma^$ [NC]

RewriteRule ^(.*)$ http://www.proxysites.net [L]


And it doesn't seem to work.

The same code does work in .htaccess though.

This is on Cpanel which I'm not that familiar with, but I'm pretty sure it's inserted correctly.

Any ideas/suggestions?