lucy24 - 9:45 pm on Oct 8, 2013 (gmt 0)
Will rogerbot read/see the whole file or stop at </Limit>?
Anything inside an envelope-- whether it's <Limit>, <Files(Match)> or (in config files) <Directory> --supersedes anything outside the envelope.
An htaccess file isn't read sequentially from top to bottom. Each module reads its own sections, followed by the core, and within those categories, anything inside an envelope is evaluated after anything lying around loose.
A common example:
Allow from all
It doesn't matter whether you put this section before, after, or smack in the middle of other authorization directives. It will always override them.
In mod_setenvif, you can use quotation marks to "protect" literal spaces in a user-agent string. They're not useful or necessary for anything else I can think of.
When more than one directive could apply to a request-- for example a redirect issued by mod_rewrite followed by a flat-out denial issued by mod_authz-whatever --no response is sent out until all modules have had their chance. A 403 issued by one mod will override a 301 issued by another mod, regardless of which one is evaluated first.