httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Figueiredo <mikael....@gmail.com>
Subject [users@httpd] Order of precedence in RewriteRule / RewriteCond statements
Date Wed, 28 Aug 2013 15:02:02 GMT
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

Mime
View raw message