Order of precedence in RewriteRule / RewriteCond statements

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

 



People,

I have a doubt, maybe is silly but I didn't find anywhere one answer for it.

I have one set of rules in my Apache configuration and recently I was asked to make one rule more generic for all the cases where the previous rules don't apply.

So my doubt is:

If I put my rules like

<rule1>
<rule2>
<rule3>
<rule4>
.
.
.
<rule generic>

Will the rewrite module respect the order of the rules in the config file and execute the rules in order?

Sorry if I did some mistakes in my english because it's not my first language. I hope I did some sense,
not a pile of garbage... :)

Any help is welcome, even indicate my question is silly and stupid, answered anywhere else. Please
be kind and indicate to me where I can find the answer. I'm a little desperate by now... :)

Best regards,

--
Miguel Figueiredo

[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