zaza41rus
@zaza41rus

GeoIP htaccess?

Не могу понять как работает GeoIP
в PHP включено
631c61fc37e36500128959.png

как только не прописывал htaccess
RewriteEngine on
GeoIPEnable On
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^RU$ 
RewriteRule ^(.*)$ http://ya.ru/ [L]


Постоянно ошибку выдает
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at info@timeweb.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.


как прописать чтоб все пользователи из РФ автоматом отправлялись на нужную страницу?
  • Вопрос задан
  • 122 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы