Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 62931 invoked from network); 3 Jan 2006 17:25:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jan 2006 17:25:09 -0000 Received: (qmail 88306 invoked by uid 500); 3 Jan 2006 17:24:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 88296 invoked by uid 500); 3 Jan 2006 17:24:58 -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 88285 invoked by uid 99); 3 Jan 2006 17:24:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 09:24:58 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.56.241.17] (HELO orsa.atos-infogerance.fr) (193.56.241.17) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 09:24:55 -0800 Received: from minotaure.atos-infogerance.fr ([193.56.47.17]) by orsa.atos-infogerance.fr (8.12.8/8.12.8) with ESMTP id k03HOWKI007347 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 3 Jan 2006 18:24:32 +0100 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 k03HOQ0l005661 for ; Tue, 3 Jan 2006 18:24:27 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 3 Jan 2006 18:24:29 +0100 Message-ID: <8C29B2F93BAE9047A906EF6D6F9C5D4301249B46@exchange2k301.gaia.fr> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Mod_proxy definitions taking precedence over mod-rewrite rules (Again) Thread-Index: AcYHLBbOKucO6i27TfKjDc449S2PpQJWLP4wAAEmiDA= From: =?iso-8859-1?Q?Axel-St=E9phane__SMORGRAV?= To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Mod_proxy definitions taking precedence over mod-rewrite rules (Again) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The only way to resolve this problem is to transform your ProxyPass = rules into RewriteRule rules. I can see no reason why upgrading from Solaris 8 to Solaris 10 should = change anything wrt the order in which the modules are executed. This is = something that Apache determines itself based on the way the module = hooks are defined.=20 The module developer can loosely define the order in which a module hook = should be executed by specifying whether it should be early, middle or = late. He/She can also specify a list of other modules before or after = which each module hook should be executed.=20 ProxyPass /foo/ http://my.host.com/boo/ is equivalent to RewriteRule ^/foo/(.*) http://my.host.com/boo/$1 [P] -ascs -----Original Message----- From: Kevin D. Van Der Hart [mailto:kvanderhart@vermeermfg.com]=20 Sent: Tuesday, January 03, 2006 5:46 PM To: users@httpd.apache.org Subject: [users@httpd] Mod_proxy definitions taking precedence over = mod-rewrite rules (Again) I sent this message once but received no responses and have not been able to resolve the problem. Any ideas would be highly appreciated. I am running Apache 2.0.55 on Solaris. I have some mod-rewrite rules that had been working properly that make changes to URLs that also would be valid under some mod_proxy settings on a specific name based virtual host. Mod_rewrite is compiled into httpd and mod_proxy is loaded as a DSO. I upgraded the Solaris OS from 8 to 10 and now the proxy rules are taking priority over the mod_rewrite rules and my rewrites are failing. I have some rewrite rules that don't conflict with mod_proxy rules and they work as expected so I know both modules are loaded and working properly. With Apache 1.X I specifically loaded modules in a set order so mod_rewrite would have precedence over mod_proxy. Can this be done with Apache 2.0? I tried recompiling Apache on the new OS but that had no effect. Thanks. Kevin --------------------------------------------------------------------- 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