Модуль собрался и установился я раскоментировал в httpd.conf
LoadModule geoip_module libexec/apache2/mod_geoip.so
и добавил AddModule mod_geoip.c
С AddModule mod_geoip.c апачь выдает ошибку Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration
без него GeoIP отказывается работать
скрипт что в статье выдает ошибку
Код: Выделить всё
PHP Fatal error: Call to undefined function apache_note() in /usr/home/u0w/www/data/ipg.php on line 4
Status: 500 Internal Server Error
X-Powered-By: PHP/5.2.9
Content-type: text/html
<pre>
<b>Откуда припёрся</b>
ругается на $country_code = apache_note("GEOIP_COUNTRY_CODE");
следственоо модуль не запускается апачем
еще без AddModule mod_geoip.c ругается на GeoIPFlags CheckCache
Invalid command 'GeoIPFlags', perhaps mis-spelled or defined by a module not included in the server configuration