Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 94528 invoked from network); 27 Mar 2008 21:49:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 21:49:44 -0000 Received: (qmail 5572 invoked by uid 500); 27 Mar 2008 21:49:33 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 5561 invoked by uid 500); 27 Mar 2008 21: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 5550 invoked by uid 99); 27 Mar 2008 21:49:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 14:49:33 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [65.88.89.40] (HELO bes01.mail.nypl.org) (65.88.89.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 21:48:54 +0000 From: Peter J Milanese X-Notes-Item: Thu, 27 Mar 2008 17:49:10 -0400; type=400; name=ComposedDate Date: Thu, 27 Mar 2008 17:49:05 -0400 X-Notes-Item: 0E8EBBFB:A2EC16C7-A6AE69D5:5B049C62; type=4; name=$REF X-Notes-Item: Reply; name=Form To: "users" Importance: Normal X-Notes-Item: ; name=SenderTag X-Notes-Item: StdNotesLtr0; name=Logo MIME-Version: 1.0 X-Notes-Item: EAD249C6:155DF727-85257419:0077D9B0; type=4; name=$Orig X-Notes-Item: ; name=RoutingState X-Notes-Item: ; name=DeadFailureReason X-Notes-Item: CN=BES01/O=Nypl; type=501; flags=44; name=$UpdatedBy X-Notes-Item: Thu, 27 Mar 2008 17:49:05 -0400; type=400; name=$Revisions Message-ID: X-Notes-Item: nypl.org; name=FromDomain X-Notes-Item: 25; type=300; name=$Hops X-Notes-Item: 1; name=$NoteHasNativeMIME X-Notes-Item: CN=Peter J Milanese/OU=MHT/O=Nypl; name=OriginalFrom X-MIMETrack: Serialize by Router on BES01/Nypl(Release 7.0.2FP1|January 10, 2007) at 03/27/2008 05:49:28 PM, Serialize complete at 03/27/2008 05:49:28 PM Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] url redirection No. Make sure you are loading proxy and the proxy_http mods. ----- Original Message ----- From: Melanie Pfefer [melanie_pfefer@yahoo.co.uk] Sent: 03/27/2008 05:40 PM To: users@httpd.apache.org Subject: Re: [users@httpd] url redirection the proxy module should be loaded since [P] is working on another rewrite rule (but not to a tomcat server) --- Peter J Milanese wrote: > Are you loading the proxy modules? > > > > > ----- Original Message ----- > From: Melanie Pfefer [melanie_pfefer@yahoo.co.uk] > Sent: 03/27/2008 03:11 PM > To: users@httpd.apache.org > Subject: Re: [users@httpd] url redirection > > > > hello, > > changing to [P] flag: > RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1 > [P] > > returns a page cannot be displayed. > > This is when apache redirects to a tomcat. Why P > flag > does not work in this redirection? Could it be that > tomcat needs additional configuration to accept > Proxy? > > thanks > --- Melanie Pfefer > wrote: > > > things are ok now with this rewrite rule > > > > RewriteRule ^/(.*web:jar.*) > http://zeus:8086/src/$1 > > [R=3D301,L] > > > > I wanted to have 'jar' as pattern but couldn't do > > it. > > > > If someone can help, I appreciate. > > > > --- Melanie Pfefer > > wrote: > > > > > I tried this > > > > > > RewriteEngine On > > > RewriteRule ^/(.*jar.*) http://zeus:8086/src/$1 > > > [R=3D301,L] > > > > > > However > > > http://zeus/web:jar:0000001 > > > becomes > > > http://zeus:8086/src/web:jar:/web:jar:0000001 > > > > > > while I want it to be > > > > > > http://zeus:8086/src/web:jar:0000001 > > > > > > could you please advise? > > > thanks > > > > > > > > > > > > > > > > > > > > > --- Mathew wrote: > > > > > > > The last time I had to configure something for > > > > tomcat I used proxy settings. I don't have > > access > > > > to this information right now otherwise I'd > give > > > an > > > > example of what I did but I'm sure you can > find > > > > something on Google. > > > > > > > > Mathew > > > > > > > > Melanie Pfefer wrote: > > > > > Hi, > > > > > > > > > > How to redirect urls that contains =C3=AF=C2=BF=C2=BDjar=C3=AF=C2= =BF=C2=BD > > > > string from > > > > > > > > > > http://zeus:8085/web/sec:jar:0000001 > > > > > to > > > > > http://zeus:8086/src/web:sec:jar:0000001 > > > > > > > > > > the first one is on apache > > > > > the 2nd web app is on tomcat > > > > > > > > > > thanks bunches > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________________ > > > > > Sent from Yahoo! Mail. > > > > > More Ways to Keep in Touch. > > > > http://uk.docs.yahoo.com/nowyoucan.html > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > 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 > > > > > > > > > > > > > -- > > > > Keep up with my goings on at > > > > http://theillien.blogspot.com > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > > > Yahoo! For Good helps you make a difference > > > > > > http://uk.promotions.yahoo.com/forgood/ > > > > > > > > > --------------------------------------------------------------------- > > > 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 > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > Yahoo! For Good helps you make a difference > > > > http://uk.promotions.yahoo.com/forgood/ > > > > > --------------------------------------------------------------------- > > 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: > =3D=3D=3D message truncated =3D=3D=3D __________________________________________________________ Sent from Yahoo! Mail. More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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