On Sat, Apr 5, 2014 at 10:55 AM, Lucien Gentis
<lucien.gen...@univ-lorraine.fr> wrote:
> Hello everybody,
>
> In flags.xml - trunk branch - line 99 :
>
> <p>An alternative to this flag is using a <directive module="mod_rewrite"
>>RewriteCond</directive> to capture against %{THE_REQUEST} which will
> capture
> strings in the encoded form.</p>
>
> I don't understand the meaning of "to capture against %{THE_REQUEST}".

If you capture something with a normal rewriterule, it has already been decoded.
If you capture against %{THE_REQUEST} in a rewritecond, it's still
escaped as the client originally sent it.

So if you have some problem where not specifying [B] is broken, and
specifying [B] is also broken, you can often avoid the backref
escaping issue by capturing %{THE_REQUEST} in a condition and using
%1.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org

Reply via email to