Multiple substitution rules per location supported?

Hi,
I want to use the ngx_http_sub_module to substitute the ugly urls
in the response.
But according to the module reference, only one substitution rule per
location is supported.
I want to know if there is any plan to support multiple substitute
rules in one location?

Yours,

DeltaY

On Wed, Aug 20, 2008 at 03:14:44PM +0800, Delta Y. wrote:

I want to use the ngx_http_sub_module to substitute the ugly urls
in the response.
But according to the module reference, only one substitution rule per
location is supported.
I want to know if there is any plan to support multiple substitute
rules in one location?

The sub filter is hack. I’m not going to extend it: it’s relatively
easy to find single match in filter, but it’s difficult to find multiple
matches in filter. The multiple matches require to read a whole body
before parsing.

Hi Igor,
Apache 2.2.8 has mod_substitute which works like line edit.
Is it possible to implement the line based multiple substitution in
nginx?
I think line based multiple substitution is enough for response body
substitution.

BR,
DeltaY

2008/8/20 Igor S. [email protected]: