[CentOS] Apache ModRewrite

Johnny Hughes mailing-lists at hughesjr.com
Thu Mar 2 11:59:49 UTC 2006


On Thu, 2006-03-02 at 02:33 -0500, John Hinton wrote:
> Does anybody happen to know if 'for sure' the order in which you list 
> modrewrite rules is the order in which they are processed within a 
> .htaccess file? It does work, but I want to know that it always works.
> 
> Basically, I have some multiple wildcard rules, where directories can't 
> be hard coded and as it goes deeper into the directories, the more 
> shallow levels interfere with the deeper levels.
> 

We just did some modrewrite rules for centos related to ISOs and it
seems to me that the rules are processed in order ... so if you do the
deepest stuff first, then the shallow stuff after, it should work.

At least it did for me ... I am not an expert on this by any means
though :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20060302/108b0af3/attachment.bin


More information about the CentOS mailing list