Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 4019 invoked by uid 500); 2 May 2001 10:06:27 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 4006 invoked from network); 2 May 2001 10:06:24 -0000 Message-ID: <796B560CA4B3D311894E00508B92C1DD544AA2@TISNT2> From: "Rief, Jacob" To: "'new-httpd@apache.org'" Subject: RE: mod_rewrite help Date: Wed, 2 May 2001 12:06:41 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Try with: RewriteEngine On RewriteMap lc int:tolower RewriteCond $lc{%{HTTP_ACCEPT_LANGUAGE}} ^.*de.*$ RewriteRule /.*$ http://www.google.com [R,L] J. > -----Original Message----- > From: Dido [mailto:dt@varna.ttm.bg] > Sent: Wednesday, May 02, 2001 11:56 AM > To: new-httpd@apache.org > Subject: 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 > >