Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 42596 invoked from network); 14 Feb 2007 15:17:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 15:17:17 -0000 Received: (qmail 57446 invoked by uid 500); 14 Feb 2007 15:17:14 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 57429 invoked by uid 500); 14 Feb 2007 15:17:13 -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 57418 invoked by uid 99); 14 Feb 2007 15:17:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 07:17:13 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jslive@gmail.com designates 64.233.162.225 as permitted sender) Received: from [64.233.162.225] (HELO nz-out-0506.google.com) (64.233.162.225) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 07:17:03 -0800 Received: by nz-out-0506.google.com with SMTP id x7so202821nzc for ; Wed, 14 Feb 2007 07:16:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=nWOjLB7/wiq440Uw/QFsv6ARUu8rfjxGBHxNN0kGO4ZjHgomRkLURAgm6w+fLC2/opy4lX/zo3NuGfEzG2f71f02FmADhhmiKS4vLZYzpPrTw+PvkLTTeTTj9VRVgExd/Hbh84UyMwDTLeX2tPAwwzfQoxiCVEOUB4M6lMmwa54= Received: by 10.114.126.1 with SMTP id y1mr239262wac.1171466201966; Wed, 14 Feb 2007 07:16:41 -0800 (PST) Received: by 10.70.19.8 with HTTP; Wed, 14 Feb 2007 07:16:41 -0800 (PST) Message-ID: Date: Wed, 14 Feb 2007 10:16:41 -0500 From: "Joshua Slive" Sender: jslive@gmail.com To: users@httpd.apache.org, "Susan Roesner RZ" In-Reply-To: <20070214104302.74AB410FB008@herse.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070214104302.74AB410FB008@herse.apache.org> X-Google-Sender-Auth: caf64aef52f812c9 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] reverse proxy/ mod_rewrite On 2/14/07, Susan Roesner RZ wrote: > Hello, > > I set up a reverse proxy which works fine. But if an external users wants to > access folder1 on the internal server http://web1.example.com he has to use > http://www.example.com/web1/folder1. > > What I need is to rewrite this address so that web1 is omitted thus to reach > folder1 an external user only has to type http://www.example.com/folder1 > > I thought to use mod_rewrite. I read that Rewrite Rules are usable in > conjunction with "ProxyPassReverse". Unfortunately I didn't find any more hints > on this. Just this one sentence. > > Does someone know of a tutorial/"how to" where there is some more explanation on > how to use ProxyPassReverse in conjunction with mod_Rewrite? Or is there a > better solution to this scenario? > > Any advice/how to is highly appreciated. It would be easier if you showed us what you already have. From the vague description above, it seems like you could simply use ProxyPass /folder1 http://web1.example.com/folder1 ProxyPassReverse /folder1 http://web1.example.com/folder1 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 " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org