On 12/20/2011 1:44 AM, Nick Gearls wrote:
That's very different from other modules.
Most (all?) modules do the opposite: first global, then local - ex: rewrite
Furthermore, narrowing does not work the way you expect as
Location /test/
Substitute s/aaa/local1/inq
/Location
Directive execution order is performed in a very strange way in
mod_substitute.
Look at the following example:
Substitute s/aaa/global/inq
Location /test/
Substitute s/aaa/local/inq
/Location
If I have aaa in a page, I expect it to be replaced by global.
No luck, it is
On 12/19/2011 8:40 AM, Nick Gearls wrote:
Directive execution order is performed in a very strange way in
mod_substitute.
Look at the following example:
Substitute s/aaa/global/inq
Location /test/
Substitute s/aaa/local/inq
/Location
If I have aaa in a page, I expect
by mod_sed? What is the logic there?
Thanks,
Nick
Original Message
Subject:Re: mod_substitute buggy execution order
Date: Mon, 19 Dec 2011 15:34:41 -0600
From: William A. Rowe Jr. wr...@rowe-clan.net
To: dev@httpd.apache.org
CC: Nick Gearls nickgea...@gmail.com