Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 53341 invoked from network); 10 Mar 2005 04:15:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Mar 2005 04:15:12 -0000 Received: (qmail 6219 invoked by uid 500); 10 Mar 2005 04:14:57 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 6120 invoked by uid 500); 10 Mar 2005 04:14:56 -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 6060 invoked by uid 99); 10 Mar 2005 04:14:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO sail-steel.com) (210.212.213.194) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 09 Mar 2005 20:14:55 -0800 Received: (qmail 14299 invoked by uid 7794); 10 Mar 2005 04:05:12 -0000 Received: from kanand@sail-steel.com by mail.sail-steel.com by uid 7791 with qmail-scanner-1.15 ( Clear:. Processed in 0.019524 secs); 10 Mar 2005 04:05:12 -0000 Received: from unknown (HELO ANAND) (10.128.1.85) by sail-steel.com with SMTP; 10 Mar 2005 04:05:12 -0000 Message-ID: <009f01c52528$36eeb3e0$5501800a@ANAND> From: "K Anand" To: References: <00fd01c52487$ef26a7c0$5501800a@ANAND> Date: Thu, 10 Mar 2005 09:48:29 +0530 Organization: SAIL/SDC MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: [users@httpd] mod_proxy and Redirect X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 ----- Original Message ----- From: "Joshua Slive" To: Sent: Wednesday, March 09, 2005 7:35 PM Subject: Re: [users@httpd] mod_proxy and Redirect > On Wed, 9 Mar 2005 14:41:09 +0530, K Anand wrote: > > Apache 1.3.27 > > > > I have a server configuration where I use ProxyPass. In the virtual host > > where the ProxyPass is located, I also have a Redirect rule. It seems like > > Proxypass is taking preference to Redirect. Is this correct ?? I tried the > > same thing with RewriteRule....Here also it looks like ProxyPass is taking > > precedence...The RewriteRule and Redirect rule were written before the > > ProxyPass directives ... > > Two possible solutions: > > 1. Use the "ProxyPass /foo !" syntax to exempt certain URLs from the proxypass. > > 2. Try changing the module ordering by reording the LoadModule > directives in httpd.conf. > > 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 > > --------------------------------------------------------------------- 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