Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 59114 invoked from network); 23 Sep 2005 13:45:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Sep 2005 13:45:39 -0000 Received: (qmail 81960 invoked by uid 500); 23 Sep 2005 13:45:29 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 81114 invoked by uid 500); 23 Sep 2005 13:45:26 -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 81089 invoked by uid 99); 23 Sep 2005 13:45:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2005 06:45:25 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.134.2.11] (HELO mail2.orangemail.nl) (194.134.2.11) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2005 06:45:33 -0700 Received: from SVEX03.dutchtone.nl ([10.144.1.38]) by mail2.orangemail.nl with Microsoft SMTPSVC(6.0.3790.211); Fri, 23 Sep 2005 15:45:02 +0200 content-class: urn:content-classes:message Importance: normal Priority: normal MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181 Date: Fri, 23 Sep 2005 15:45:01 +0200 Message-ID: <88001FC5C453764CA6597FB2987424940442995D@svex03> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] proxypass and redirect apache2 Thread-Index: AcXAP4uZdxhsfJO1RNOX8Nm3nPjePwABOXEA From: "Heitmann, Herwarth" To: , "Joshua Slive" X-OriginalArrivalTime: 23 Sep 2005 13:45:02.0454 (UTC) FILETIME=[FF5D4960:01C5C044] X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] proxypass and redirect apache2 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----Original Message----- From: Joshua Slive [mailto:jslive@gmail.com]=20 Sent: 23 September 2005 15:05 To: users@httpd.apache.org Subject: Re: [users@httpd] proxypass and redirect apache2 On 9/23/05, Heitmann, Herwarth wrote: > Hello, > > I want the following to be done for our new reverse proxy solution: > > http://www.800-900manager.nl needs to be rewritten to=20 > https://www.800-900manager.nl > > and when someone goes to https://www.800-900manager.nl it needs to be=20 > redirected to https://www.800-900manager.nl/nsapi/WebObjects/webfrc/ > > of course https://www.800-900manager.nl needs to be proxied to=20 > http://10.120.16.80 > > as i expect this my config. and this config is ignoring the redirect. Well, your problem is not well specified, since you can't have exactly the same URL both be redirected AND proxied in the same operation. Perhaps what you want is something along the lines of RewriteEngine On RewriteRule ^/$ https://www.800-900manager.nl/nsapi/WebObjects/webfrc/ [R,L] RewriteRule ^/(.+) http://10.120.16.80/ [P] ProxyPassReverse / http://10.120.16.80/ which redirects the root URL and proxies everything else. --------------------------------------- Redirecing root URL and proxying the rest is exactly what i want but with your config rewrite is done, but proxying is not working. You can see the URL is rewritten as you can see in the address bar... Is Rewrite [P] working the same as ProxyPass? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is = alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht = ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender = direct te informeren door het bericht te retourneren. Hoewel Orange = maatregelen heeft genomen om virussen in deze email of attachments te = voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn = aangezien Orange niet aansprakelijk is voor computervirussen die = veroorzaakt zijn door deze email. The information contained in this message may be confidential and is = intended to be only for the addressee. Should you receive this message = unintentionally, please do not use the contents herein and notify the = sender immediately by return e-mail. Although Orange has taken steps to = ensure that this email and attachments are free from any virus, you do = need to verify the possibility of their existence as Orange can take no = responsibility for any computer virus which might be transferred by way = of this email. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D --------------------------------------------------------------------- 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