On Friday 16 July 2010 14:24:17 Hans de Groot wrote:
> PerlPostReadRequestHandler ModPerl::VHost
>
I think this is too early in the request cycle to do that. Try a
PerlMapToStorageHandler. You may also have a look at Apache2::Translation. The
documentation needs a rewrite, I know. It's purpose is to keep most of the
config in a database or similar and to avoid to reload apache when it changes.
You may also try to do in a PerlFixupHandler:
$r->proxyreq(2);
$r->filename('proxy:'.$url);
$r->handler('proxy_server');
Apache2::Translation does that to proxy requests. Another example could be the
implementation of fetch_url() in ModPerl2::Tools.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net