On Mon, May 25, 2009 at 11:28 AM, André Warnier <a...@ice-sa.com> wrote:
> Evan Champion wrote:

>> My observation is that the matches are done in reverse order of
>> appearance in the configuration, i.e. in this example, a request to
>> http://server.example.com/ will match the http://*.example.com/* rule
>> and the variable will be set to "second".  Is it generally correct that
>> matches are in reverse order of appearance in the configuration?
>>
> I don't know the details of how <Proxy> sections work, but there is an
> alternate possible explanation to what you are seeing :
> *both* sections above are run, in the order in which they appear, because
> both of them match.
> So the first SetEnvIf is executed (VAR=first), but the second one overwrites
> it (VAR=second).

See:

http://httpd.apache.org/docs/2.2/sections.html

"Later sections override earlier ones"


Krist



-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to