Re: WELCOME to [email protected]

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.