View Single Post
Old 05-14-2025, 08:01 PM  
lemonlinx
Confirmed User
 
lemonlinx's Avatar
 
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote