httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <torsten.foert...@gmx.net>
Subject Re: Dynamic configuration for the hackathon?
Date Thu, 27 Mar 2008 07:58:33 GMT
On Wed 26 Mar 2008, Akins, Brian wrote:
> > There seems to be a demand for dynamic per-request configuration,
> > as evidenced by the number of users hacking it with mod_rewrite,
> > and the other very limited tools available.  Modern mod_rewrite
> > usage commonly looks like programming, but it's not designed as
> > a programming language.  Result: confused and frustrated users.
>
> This is what I had in mind when I suggested having <Lua> blocks of code.
>  No need to invent a new language when a perfectly fine one exists...

As Issac pointed out something similar can be done with <Perl> blocks at the 
cost of having mod_perl in core. Those are not evaluated evaluated 
per-request.

But based on mod_perl there is Apache2::Translation that does per-request 
configuration. It hooks uri translation, maptostorage and fixup to do the 
job. Again it needs a perl interpreter in core and hence doesn't work well 
with threaded MPMs. So I was going to reimplement it based on mod_wombat some 
time this year.

I just wanted to add these $0.02 to the discussion.

Torsten

Mime
View raw message