Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 62619 invoked from network); 9 Jan 2006 07:15:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jan 2006 07:15:58 -0000 Received: (qmail 24523 invoked by uid 500); 9 Jan 2006 07:15:49 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 24235 invoked by uid 500); 9 Jan 2006 07:15:47 -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 24224 invoked by uid 99); 9 Jan 2006 07:15:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jan 2006 23:15:47 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of bsenthil@gmail.com designates 64.233.162.207 as permitted sender) Received: from [64.233.162.207] (HELO zproxy.gmail.com) (64.233.162.207) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jan 2006 23:15:45 -0800 Received: by zproxy.gmail.com with SMTP id x3so3989790nzd for ; Sun, 08 Jan 2006 23:15:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=R5YmgdV1c4i68T0K/OOEmNGMaORa3OfDzyi1Ln6WYlyDPJS2vqJQWsU4yfMbtoXegwCx2Xf1C0+zjvMorT5ts2i56I6wX4uxF6MgGgvE6O+kDHrfeUpDoap68Y9JZ8R9vMWU4uOQBVf6eSiigjGxZCYuo3M9cejCUssnMAUM4VY= Received: by 10.37.12.25 with SMTP id p25mr12523275nzi; Sun, 08 Jan 2006 23:15:24 -0800 (PST) Received: by 10.36.25.9 with HTTP; Sun, 8 Jan 2006 23:15:24 -0800 (PST) Message-ID: <64467020601082315o4530993bhdbbc7e951852e6f6@mail.gmail.com> Date: Mon, 9 Jan 2006 12:45:24 +0530 From: senthil kumar To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5724_31067628.1136790924730" References: <8C29B2F93BAE9047A906EF6D6F9C5D430124A2E4@exchange2k301.gaia.fr> <64467020601050620g3bf358e8k747559d7617bd85f@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] help work with Proxy pass option X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5724_31067628.1136790924730 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Could you please send link to download mod_rewrite.so/mod_rewrite.[c|h] . I found out mod_rewrite.c & mod_rewrite.h file in html format. Is it right command to compile the mod_rewrite.c file ? ./apxs -c -I/usr/include/libxml2 -i mod_rewrite.c RewriteRule (.*) http://$1 [P] RewriteRule ^(*.xqy)$ http://localhost:8080/$1 [L,P]* *What is the meaning [p] ,[L,p] ? Thanks a lot, senthilkumar. On 1/7/06, Joshua Slive wrote: > > On 1/5/06, senthil kumar wrote: > > Hi Axel, > > > > I am not looking for proxy concept, i don't want to configure my > browser to > > point to my proxy server. > > I am looking for gateway concept, I want to communicate external domai= n > > through my gateway apache server. > > > > Browser <---------> My Gateway Apache Server <-------------> External > > domain > > > > Note:: My Gateway apache server internaly acts as a proxy server. > > > > that's why the requested external domain url as pass as the url string > like > > http://localhost:8080/www.test.com > > You can probably do > RewriteEngine On > RewriteRule (.*) http://$1 [P] > > But the results will be pretty strange. In particular, redirects > won't be properly rewritten because you can't use ProxyPassReverse in > a configuration like that. > > Joshua. > ------=_Part_5724_31067628.1136790924730 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Could you please send link to download mod_rewrite.so/mod_rewrite.[c|h] . I found out mod_rewrite.c & mod_rewrite.h file in html format.

Is it right command to compile the mod_rewrite.c file ?
./apxs -c -I/usr/include/libxml2 -i mod_rewrite.c

RewriteRule (.*) http://$1 [P] RewriteRule ^(*.xqy)$ http://localhost= :8080/$1 [L,P]
What is the meaning  = [p] ,[L,p] ?

Thanks a lot,
senthilkumar.



On 1/7/06, Joshua Slive <joshua@slive= .ca> wrote:
On 1/5/06, senthil kumar <bsenthil= @gmail.com> wrote:
> Hi Axel,
>
>  I am = not looking for proxy concept, i don't want to configure my browser to
&= gt; point to my proxy server.
>  I am looking for gateway concept, I want to communicate= external domain
> through my gateway apache server.
>
>&= nbsp; Browser <---------> My Gateway Apache Server  &l= t;-------------> External
> domain
>
>  Note:: My Gateway apache server = internaly acts as a proxy server.
>
>  that's why the= requested external domain url as pass as the url string like
> http://localhost:8080/www.test.com

You can probably do
Rewrit= eEngine On
RewriteRule (.*) http://$1 [P]

But the results will be= pretty strange.  In particular, redirects
won't be properly r= ewritten because you can't use ProxyPassReverse in
a configuration like that.

Joshua.

------=_Part_5724_31067628.1136790924730--