Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 43111 invoked from network); 18 Dec 2008 15:49:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2008 15:49:31 -0000 Received: (qmail 40631 invoked by uid 500); 18 Dec 2008 15:49:34 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 40249 invoked by uid 500); 18 Dec 2008 15:49:33 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 40239 invoked by uid 99); 18 Dec 2008 15:49:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 07:49:33 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [195.42.160.16] (HELO smtp.df.ru) (195.42.160.16) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 15:49:11 +0000 Received: from beaver.vrungel.ru (unknown [79.165.186.232]) by smtp.df.ru (Postfix) with ESMTP id 211EA10499B for ; Thu, 18 Dec 2008 18:48:49 +0300 (MSK) Received: from beaver.vrungel.ru (localhost [127.0.0.1]) by beaver.vrungel.ru (8.14.3/8.14.3) with ESMTP id mBIFnPcv037807 for ; Thu, 18 Dec 2008 18:49:25 +0300 (MSK) (envelope-from renton@renton.name) Received: (from renton@localhost) by beaver.vrungel.ru (8.14.3/8.14.3/Submit) id mBIFnPd6037806 for users@httpd.apache.org; Thu, 18 Dec 2008 18:49:25 +0300 (MSK) (envelope-from renton@renton.name) X-Authentication-Warning: beaver.vrungel.ru: renton set sender to renton@renton.name using -f Date: Thu, 18 Dec 2008 18:49:25 +0300 From: Alexey Vlasov To: users@httpd.apache.org Subject: Spaces in request URI when using proxy-subrequest Message-ID: <20081218154925.GD96956@beaver.vrungel.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Checked: Checked by ClamAV on apache.org Hi. I noticed that when using proxy-requests in RewriteRule, there is no space encoding in URI. Proxy request: on server1 - # cat .htaccess RewriteEngine On RewriteRule (AAA.*) http://server2.com/phpinfo.php?q=$1 [L,P] # telnet server1.com 80 GET /AAA%20AAA HTTP/1.1 HOST:server1.com answer from server2: QUERY_STRING q=AAA REQUEST_URI /phpinfo.php?q=AAA SCRIPT_NAME /phpinfo.php Usual requst: i change rules in .htaccess on Server 1. # cat .htaccess RewriteEngine On RewriteRule (AAA.*) /phpinfo.php?q=$1 [L] Similar request but the answer is: QUERY_STRING q=AAA AAA REQUEST_URI /AAA%20AAA SCRIPT_NAME /phpinfo.php Is this a bug? -- BRGDS. Alexey Vlasov. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org