httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akins, Brian" <>
Subject Re: Dynamic configuration for the hackathon?
Date Wed, 26 Mar 2008 14:15:05 GMT
On 3/26/08 9:53 AM, "Nick Kew" <> wrote:

> I'm not talking about inventing a new language.  Those who want one
> have some options already, as noted below ...

Right.  I was just "throwing it out there," so to speak.  I'm not opposed to
what you are saying, just wondering if we would/should take it to the next

As to your suggestion:

So basically, the per_dir merge would use this mechanism instead of what it
does now (file walk, location walk)> (or in addition to??)

Something like:

<If Directory == /www/stuff and Remote_IP =~ 10.189.>
    SetEnv coolstuff
<Elsif HTTP_Host == or Local_Port == 8080>
    Set something different
<Elsif ENV{blah} =~ foo or Cookie{baz} == iamset>
    foo bar
   something completely different

(Horrible, example I know).  If it were easy to extend the expresions (ie, I
want to implement (Cache == yes/no) and stuff like ENV{key} were made to
work, I'm all for it.

It *should* be fairly easy to test this out with the current system (ala
Proxy blocks).

Brian Akins
Chief Operations Engineer
Turner Digital Media Technologies

View raw message