Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mod_geoip optmod loaded but not working

Discussion in 'General Discussion' started by Mark65, Jul 28, 2009.

  1. Mark65

    Mark65 Registered

    Joined:
    Jul 28, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    I am facing the situation that mod_geoip optmod is loaded but not working, similar as in the thread http://forums.cpanel.net/f5/mod_geoip-optmod-loaded-but-not-working-114725.html

    I have tried and inserted in httpd.conf:
    GeoIPEnable On
    GeoIPDBFile "/opt/geoip/share/GeoIP/GeoIP.dat"

    but then Apache wouldn't start. Did I place wrong???
    I try to forward traffic using .htaccess like

    RewriteEngine On
    RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(CN|TW|HK|SA|IR|NG)$
    RewriteRule ^(.*)$ Alert Pay Hub [L]



    Any help is much appreciated. Thanks!
    Mark
     
Loading...
Similar Threads - mod_geoip optmod loaded
  1. TechBill
    Replies:
    1
    Views:
    609

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice