Hi, I'm using Apache 1.3.12-2 that comes with RedHat 6.2 and into the
same CD I have mod_perl both are RPM`s packages and both are working
well.
However if I use Perlrequire directive:
   Perlrequire /path to my startup/my startup.pl
and I try to restart my httpd, this says OK but there is no one daemon
started, does somebody can help me ?

To load mod_perl my httpd.conf has
...
LoadModule  perl_module        modules/libperl.so
...
...
and
AddModule mod_perl.c
I used the following code for test and it work ok:
       ...
       ...
       if (exists $ENV{'MOD_PERL'}){
              print "Running as a mod_perl application";
              }
       else{
              print "Running as a CGI script";
              }

Thanks in advence

Roberto Osorio
Centro Universitario de Investigaciones Bibliotecológicas, UNAM

Reply via email to