E
E
Egor Chebotarev2016-06-17 09:38:24
Apache HTTP Server
Egor Chebotarev, 2016-06-17 09:38:24

Providing different pages depending on ip. Who implemented it?

The customer asks to open different language versions of the site depending on the ip from which the visitor comes: -
Russian
- German
- English

SetEnvIf REMOTE_ADDR 192.168.11.1 REDIR="redir" 
RewriteCond %{REDIR} redir 
RewriteRule ^/$ /data.html

Who faced? What pitfalls are present? How best to implement?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
nikolayvaganov, 2016-06-17
@Egche

dev.maxmind.com/geoip/legacy/mod_geoip2

Q
qazqazasda, 2016-06-17
@qazqazasda

And virtual hosts (by IP) are not easier?

A
Alexander Karabanov, 2016-06-17
@karabanov

For example like this .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question