Thread
:
geo redirect question
View Single Post
05-14-2025, 08:01 PM
lemonlinx
Confirmed User
Industry Role:
Join Date: Apr 2025
Posts: 45
This can be achieved with .htaccess, Apache and Cloudflare
SetEnvIf CF-IPCountry (.+) GEO_COUNTRY=$1
RequestHeader set X-Debug-Country "%{GEO_COUNTRY}e"
You will need mod_setenvif and mod_headers installed for Apache
lemonlinx
View Public Profile
Find More Posts by lemonlinx