So... The nonfinal forbid trumps the default allow in the case of a.php...is that because of the order? Or because default is weaker than patterns?
On 8/5/10, Alvaro Lopez Ortega <[email protected]> wrote: > On 05/08/2010, at 23:57, Stefan de Konink wrote: >> On Thu, 5 Aug 2010, Richard Owen wrote: >> >>> What is the difference between 'Leave Unset' and 'Allow' in the GZip and >>> Deflate options? >> >> I thought this has to do with the fact that you can use a non-final rule, >> that does not change (or does) that setting. > > Exactly. > > Imagine the following scenario: > > - Rule: *.php, Non-Final, Gzip forbidden > - Rule: a*, Non-Final, Gzip leave unset > - Default: Final, GZip allowed > > These test requests would be evaluated as: > > /foo.php - wouldn't use GZip > /aaa.txt - would use Gzip (a* wouldn't set it, but since it's non-final the > default rule would) > /zzz.txt - would use it (set by the default rule) > > -- > Octality > http://www.octality.com/ > > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee > _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
