Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 97782 invoked by uid 500); 3 Dec 2001 15:21:59 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 97765 invoked from network); 3 Dec 2001 15:21:59 -0000 Received: from gwdu42.gwdg.de (134.76.10.26) by daedalus.apache.org with SMTP; 3 Dec 2001 15:21:59 -0000 Received: from partner.uni-psych.gwdg.de ([134.76.136.114]) by gwdu42.gwdg.de with esmtp (Exim 3.33 #7) id 16Auuu-00041Z-00 for users@httpd.apache.org; Mon, 03 Dec 2001 16:22:00 +0100 Mime-Version: 1.0 X-Sender: rbeer@134.76.10.26 Message-Id: In-Reply-To: References: Date: Mon, 3 Dec 2001 16:21:47 +0100 To: users@httpd.apache.org From: Ragnar Beer Subject: RE: mod_rewrite + mod_proxy Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks a lot! The solution was to add http://127.0.0.1 :) (Although I do not _exactly_ understand why ...) Ragnar >From: Ragnar Beer [mailto:rbeer@uni-goettingen.de] >> Here is a rule that works: >> >> RewriteRule (.*) - [P,L] >> >> But this one doesn't: >> >> RewriteRule (.*) $1?ra=%{REMOTE_ADDR} [P,L] >> >> Could anybody be so kind and help me to understand why this doesn't work? >> I read the mod_rewrite doc and the URL rewriting guide but I just don't >> get it :( > >You are not providing much detail. What is in the access, error, and most >importantly, the rewrite log file? What happens in the browser. > >I've never tried this myself, but one guess is > >RewriteRule ^/(.*) http://127.0.0.1/$1?ra=%{REMOTE_ADDR} [P,L] > >Joshua. > > >--------------------------------------------------------------------- >The official User-To-User support forum of the Apache HTTP Server Project. >See for more info. >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org