httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: question about flags.xml - trunk branch
Date Sat, 05 Apr 2014 15:03:47 GMT
On Sat, Apr 5, 2014 at 10:55 AM, Lucien Gentis
<lucien.gentis@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message