You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dido <dt...@varna.ttm.bg> on 2001/05/02 11:56:20 UTC

mod_rewrite help

hello,

this might not be the proper place for asking such questions; if so, pls
excuse my ignorance.

anyway, i have a big problem with mod_rewrite.

consider the following code:

RewriteEngine On
RewriteCond   %{HTTP_ACCEPT_LANGUAGE}  ^*de*$
RewriteRule /* http://www.google.com [R,L]

i want to redirect all visitors from germany to a specific web page BUT i
can't achieve it :( i have tried hundreds of formats, read all that i could
find about mod_rewrite but still it won't work. i have no problems when
working with IPs, domain names, browser names, etc. i believe that the
reason is in the twisted format of the http_accept_language variable.

i'd be very helpful if you can offer me some assistance. thanks in advance
and sorry once again,

Martin