
jira at getnet
Dec 8, 2011, 2:02 PM
Post #1 of 1
(258 views)
Permalink
|
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');
|