ModPerl::RegistryLoader

Jiří Pavlovský <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hello,

I'm trying to use ModPerl::RegistryLoader to compile my app at server 
startup.
I have the code below in my startup.pl.  I can see that the program is 
loaded at startup, but
when I hit the url it is executed as a normal CGI.

What am I doing wrong?


   sub trans {
      my $uri = shift;
       return File::Spec->catfile(SERVER_ROOT, $uri);
    }

    my $rl = ModPerl::RegistryLoader->new(
      package => 'ModPerl::RegistryPrefork',
        trans   => \&trans,
    );

       $rl->handler('/url/script.cgi');
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.