You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Alex Harvey <al...@gmail.com> on 2010/06/04 15:48:58 UTC

[users@httpd] mod_rewrite: skip flag and how chained lines are counted

Hi all,

I have been unable to find this documented anywhere, so here goes.

According to the Apache documentation: "The [S] flag is used to skip rules
that you don't want to run." Great, so I can skip N rules by using the [S=N]
flag.

But how are chained rules counted? The documentation is ambiguous on this
point.

Is the whole chain counted as a single rule or is it counted as the number
of RewriteRule commands it contains?

Many thanks,
Alex Harvey

Re: [users@httpd] mod_rewrite: skip flag and how chained lines are counted

Posted by Eric Covener <co...@gmail.com>.
On Fri, Jun 4, 2010 at 9:48 AM, Alex Harvey <al...@gmail.com> wrote:
> Hi all,
>
> I have been unable to find this documented anywhere, so here goes.
>
> According to the Apache documentation: "The [S] flag is used to skip rules
> that you don't want to run." Great, so I can skip N rules by using the [S=N]
> flag.
>
> But how are chained rules counted? The documentation is ambiguous on this
> point.
>
> Is the whole chain counted as a single rule or is it counted as the number
> of RewriteRule commands it contains?

Shouldn't this one be easy to test?


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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