Re: RewriteCond - is this fast fail?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2023-01-11 at 10:26 -0500, rbowen@xxxxxxxxxxx wrote:
> On Wed, 2023-01-11 at 10:15 -0500, rbowen@xxxxxxxxxxx wrote:
> > On Wed, 2023-01-11 at 13:12 +0000, sebb wrote:
> > > Thanks, that's very helpful.
> > > 
> > > Maybe this info could be added to the user docs?
> > 
> > There's a useful flow diagram that shows this:
> > 
> > https://httpd.apache.org/docs/current/rewrite/intro.html
> > 
> > Granted, I'm sure it could be made clearer and/or more explicit.
> 
> 
> How's this:

Committed in r1906605 in trunk. I'll put that in the 2.4 docs also in a
moment.


> 
> [rbowen@avistetto:manual/mod]$ svn diff
> 
> Index: mod_rewrite.xml
> ===================================================================
> --- mod_rewrite.xml     (revision 1906604)
> +++ mod_rewrite.xml     (working copy)
> @@ -1059,6 +1059,13 @@
>          the homepage is served. Otherwise, the standard page is
> served.
>          </p>
>  
> +        <p>By default, multiple <directive>RewriteCond</directive>s
> +        are evaluated in sequence with an implied logical
> <strong>AND</strong>.
> +        If a condition fails, in the absence of an
> +        <strong><code>OR</code></strong> flag, the entire ruleset is
> abandoned,
> +        and further conditions are not evaluated.
> +        </p>
> +
>  </usage>
>  
>  </directivesynopsis>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux