Tom,

Will have a play with that then. I did try something similar but for some reason it was erroring out.

Thanks

Paul

Tom Schindl wrote:

<VirtualHost ... >

PerlModule ModPerl::Registry

--------------8<--------------
# Handle all files ending in .pl with mp2
<Files ~ \.pl>
  SetHandler perl-script
  PerlResponseHandler ModPerl::Registry
  #PerlOptions +ParseHeaders
  #PerlOptions -GlobalRequest
  Options +ExecCGI
</Files>
--------------8<--------------

</VirtualHost>

http://perl.apache.org/docs/2.0/api/ModPerl/Registry.html
http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Registry___C_Apache__PerlRun__and_Friends

Take a look at the second URL and ModPerl::RegistryPrefork because it
may safe hard times ;-)

Tom


Reply via email to