On Mon, 4 Feb 2002, Alberto Canzi wrote: > Hi I would like to install apache with embedded perl. > I've installed Apache on a w98 pc. > I've installed ActiveState Perl > >From Dos shell I've executed: > ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd > (installing mod_perl.so into C:\programmi\apache group\apache\modules > directory) > and I've executed: > ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/HTML-Embperl.ppd > to install Embedde-Perl module. > > Everything seem to be well-done. > > And now?? > On Linux system, after having recompiled Apache with mod_perl module > activated and installed HTML-EmbPerl module I used to add this lines to > srm.conf: [ .. ] > > But on W98 as I start Apache I get: > Syntax error on line x of c:\programmi\apache > group\apache\conf\srm.conf: > Invalid command 'PerlHandler', perhaps mis-spelled or defined by a > module not included in the server configuration > > ... > I thought that mod_perl (although it is installed on my pc) isn't loaded > by apache, so I've added this line in srm.conf (before the file section > shown above): > > LoadModule mod_perl modules\mod_perl.so > > And when I start Apache I get: > Syntax error on line xx of c:\programmi\apache > group\apache\conf\srm.conf: > Can't locate API module structure 'mod_perl' in file c:\programmi\apache > group\apache\modules\mod_perl.so >
Try, in the config file LoadModule perl_module modules/mod_perl.so Also, if you have a "ClearModuleList" directive after this enabled, you'll have to add AddModule mod_perl.c best regards, randy kobes --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]