[TYPO3-english] dmc_geoIP cache Problem
Andreas Kießling
andreas.kiessling at web.de
Wed May 12 19:33:11 CEST 2010
Hi,
>
> On the main page (for which I want to redirect to the page based on the IP of visitor)
>
for that, i've always set the redirects directly in .htaccess / apache
config. But you ned mod_geoip for this, which is for example available
as a debian package.
in htaccess before t3 config:
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^DE$
RewriteRule ^/?$ /de/ [L,QSA,R=301] [NC]
Have a look at http://www.maxmind.com/app/mod_geoip for further config
examples.
HTH,
Andreas
More information about the TYPO3-english
mailing list