I want a guide and condition additional scenario:

User from US visits www.domain.com, domain.com, www.domain.com/ or domain.com/ this ought to be rerouted to www.domain.com/usvisitor/

However, if your user in the US visits www.domain.com/anydirectory it'll allow them to straight through with no redirection occurring.

eg.

RewriteEngine On  
RewriteBase /

GeoIPEnable On  
GeoIPDBFile /var/share/GeoIP/GeoIP.dat  

RewriteEngine on  
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^US$  
RewriteCond %{HTTP_HOST} ^domain.com$ [L]  
RewriteRule ^/$ http://www.domain.com/usvisitor$1 [L]  

I understand the RewriteConditons and rules are wrong - cannot get my mind around it!

Only for the record first got it solved:

RewriteEngine On  

GeoIPEnable On  
GeoIPDBFile /var/share/GeoIP/GeoIP.dat  
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^US$  
RewriteRule ^$ http://www.domain.com/usvisitor/$1 [L,NC,QSA]

Simple really - doh!