Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 30910 invoked from network); 10 Mar 2005 08:42:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Mar 2005 08:42:40 -0000 Received: (qmail 71677 invoked by uid 500); 10 Mar 2005 08:42:22 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 71392 invoked by uid 500); 10 Mar 2005 08:42:20 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 71373 invoked by uid 99); 10 Mar 2005 08:42:20 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mx2.mail.ms.fr.atosorigin.com (HELO polaris.atos-infogerance.fr) (193.56.241.12) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 10 Mar 2005 00:42:19 -0800 Received: from minotaure.atos-infogerance.fr ([193.56.47.17]) by polaris.atos-infogerance.fr (8.12.10/8.12.10) with ESMTP id j2A8gF3t012213 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 10 Mar 2005 09:42:15 +0100 (MET) Received: from exchange2k301.gaia.fr (localhost.localdomain [127.0.0.1]) by minotaure.atos-infogerance.fr (8.12.8/8.12.8) with ESMTP id j2A8gDmo029836 for ; Thu, 10 Mar 2005 09:42:14 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Thu, 10 Mar 2005 09:42:14 +0100 Message-ID: <43F6AE2C59CAC94EA7D45EE9103EECB9017CC5AF@exchange2k301.gaia.fr> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] mod_proxy and Redirect Thread-Index: AcUlJ719PFV2MQsFRBqWLR/19pMrxgAIKmKwAAAqlhA= From: =?iso-8859-1?Q?Axel-St=E9phane__SMORGRAV?= To: X-Virus-Checked: Checked Subject: RE: [users@httpd] mod_proxy and Redirect X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sorry. Let me rephrase that. Have you tried to reverse the order of the LoadModule directives for the = ALIAS and PROXY modules in your configuration? The order in which the modules are loaded is significant for the order = in which directives from different modules are executed. If I am not = mistaken the modules are stacked so the first module loaded will be the = last to execute. You should therefore make sure that the alias module is = loaded after the proxy module. The redirect directive is implemented by the Alias module - not by the = rewrite module as far as I can see from the Apache manual. Another thing you may try is to use a rewrite rule instead of the = Redirect directive, provided mod_rewrite is loaded. RewriteRule ^/foobar(.*)$ http://a.b.c/foobar$1 [R] is equivalent to Redirect /foobar http://a.b.c/foobar -ascs -----Message d'origine----- De : Axel-St=E9phane SMORGRAV = [mailto:Axel-Stephane.SMORGRAV@europe.adp.com]=20 Envoy=E9 : jeudi 10 mars 2005 09:12 =C0 : users@httpd.apache.org Objet : RE: [users@httpd] mod_proxy and Redirect Have you tried to reverse the order of the LoadModule directives for the = rewrite and proxy modules in your configuration? Are these statically or = dynamically linked? -ascs -----Message d'origine----- De : K Anand [mailto:kanand@sail-steel.com] Envoy=E9 : jeudi 10 mars = 2005 05:18 =C0 : users@httpd.apache.org Objet : Re: [users@httpd] = mod_proxy and Redirect Josh, 1) I checked my httpd.conf file. The rewrite module is being loaded = before the proxy module. 2) I do need to do the reverse proxy . So I cannot negate that. Here's my scenario in detail. client --- Webserver ----- Appln server https http Webserver to Appln server connections are made by ProxyPass. Since this = is application is used for all transactions of our company and it can be = deployed on the internet, we are planning to use SSL between client and = Webserver. So all requests between client and Webserver will be on = https. What I want is that when the URL is say https://abc.com/docs/xyz it should be rewritten to http://abc.com/docs/xyz. In addition to this, there is a ProxyPass on Webserver which is like this : ProxyPass /docs/ http://abc1.com/docs/ When I'm disabling the ProxyPass statement in my httpd.conf, I can see = that URL is being rewritten from https to http. But the moment I = uncomment the ProxyPass statement, URL is not being rewritten. Any clues why ?? Anand --------------------------------------------------------------------- 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