Re: Question about error log message and PERL_SSI
I successfully installed mod_perl under Apache/1.3.6 (Unix). However, when attempting to run some Web pages I have that use #perl sub I get an error log message, "unknown directive 'perl' in parsed doc." I installed mod_perl right from CPAN and assumed that mean EVERYTHING=1 would be the default installation. Is there a way I can find out if my mod_perl enables PERL_SSI and therefore find out if this is or is not my problem? EVERYTHING=1 should install PerlSSI as well. Configure perl-status to work (see 'perldoc Apache::Status') then do: http://localhost/perl-status?hooks to check the enabled hooks. Do other mod_perl scripts/modules work? didn't you forget to: cd ../apache-x.x.x make install ___ Stas Bekmanmailto:[EMAIL PROTECTED] http://www.stason.org/stas Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC perl.apache.orgmodperl.sourcegarden.org perlmonth.comperl.org single o- + single o-+ = singlesheavenhttp://www.singlesheaven.com
Re: Question about error log message and PERL_SSI
Replies below: On Sun, 6 Feb 2000, Stas Bekman wrote: Date: Sun, 6 Feb 2000 23:20:49 +0200 (IST) From: Stas Bekman [EMAIL PROTECTED] To: gnielson [EMAIL PROTECTED] Cc: "ModPerl Mailing List (E-mail)" [EMAIL PROTECTED] Subject: Re: Question about error log message and PERL_SSI I successfully installed mod_perl under Apache/1.3.6 (Unix). However, when attempting to run some Web pages I have that use #perl sub I get an error log message, "unknown directive 'perl' in parsed doc." I installed mod_perl right from CPAN and assumed that mean EVERYTHING=1 would be the default installation. Is there a way I can find out if my mod_perl enables PERL_SSI and therefore find out if this is or is not my problem? EVERYTHING=1 should install PerlSSI as well. Configure perl-status to work (see 'perldoc Apache::Status') then do: http://localhost/perl-status?hooks to check the enabled hooks. Thanks for that information. That showed me that PERL=SSI is *disabled.* Guess I need to install again from CPAN, huh? Any way to just enable PERL=SSI without rebuilding? Do other mod_perl scripts/modules work? didn't you forget to: cd ../apache-x.x.x make install Yes, other scripts do work. ___ Stas Bekmanmailto:[EMAIL PROTECTED] http://www.stason.org/stas Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC perl.apache.orgmodperl.sourcegarden.org perlmonth.comperl.org single o- + single o-+ = singlesheavenhttp://www.singlesheaven.com
Re: correction! Re: Question about error log message and PERL_SSI
On Sun, 6 Feb 2000, Stas Bekman wrote: [...] EVERYTHING=1 should install PerlSSI as well. Configure perl-status to work (see 'perldoc Apache::Status') then do: http://localhost/perl-status?hooks to check the enabled hooks. Thanks for that information. That showed me that PERL=SSI is *disabled.* Guess I need to install again from CPAN, huh? Any way to just enable PERL=SSI without rebuilding? Ooops, I was wrong, you need to use ALL_HOOKS=1 to enable all handlers or just PERL_SSI=1 for PerlSSI. (I thought EVERYTHING=1 installs it all :) uhmn, EVERYTHING=1 should enable PERL_SSI too. It does for me. - ask -- ask bjoern hansen - http://www.netcetera.dk/~ask/ more than 70M impressions per day, http://valueclick.com
Re: correction! Re: Question about error log message and PERL_SSI
[Gary please keep this on the list, CC'ing back to list] On Mon, 7 Feb 2000, Stas Bekman wrote: Date: Mon, 7 Feb 2000 00:01:56 +0200 (IST) From: Stas Bekman [EMAIL PROTECTED] To: gnielson [EMAIL PROTECTED] Cc: "ModPerl Mailing List (E-mail)" [EMAIL PROTECTED] Subject: Re: correction! Re: Question about error log message and PERL_SSI Ooops, I was wrong, you need to use ALL_HOOKS=1 to enable all handlers or just PERL_SSI=1 for PerlSSI. (I thought EVERYTHING=1 installs it all :) So I guess I need to rebuild it manually, eh, with ALL_HOOKS=1? No easier way to add this functionality? Nope you don't have to. I understand that you use CPAN to install it? See my notes about providing additional params at: http://perl.apache.org/guide/install.html#mod_perl_Installation_with_CPAN_ http://perl.apache.org/guide/install.html#Local_mod_perl_Enabled_Apache_In I went to perl.apache.org and thought I understood what I needed to do, but still not successful. I thought that what i needed to do was specify new parameters and then re-run install mod_perl with these new parameters. But the install reports up to date and just quits. Here's what I did: cpan o conf makepl_arg makepl_argDO HTTPD=1 USE_APACI=1 EVERYTHING=1 PREFIX=/usr/local/apache APACHE_PREFIX=/usr/local/apache cpan o conf makepl_arg.save EVERYTHING=1 makepl_arg.saveEVERYTHING=1 cpan install mod_perl mod_perl is up to date. CPAN is not build params aware. If you want to force the rebuild, use 'force' cpan force install mod_perl cpan quit When I do a http://localhost/perl-status?hooks I still get PERL_SSI Disabled. Of course, nothing has changed! Are you sure the default build uses EVERYTHING=1 when gets build thru CPAN.pm? I'm still in doubt about EVERYTHING=1 not installing all. It should install everything according to the docs. I think cpan install mod_perl doesn't provide this parameter... please confirm. Thanks ___ Stas Bekmanmailto:[EMAIL PROTECTED] http://www.stason.org/stas Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC perl.apache.orgmodperl.sourcegarden.org perlmonth.comperl.org single o- + single o-+ = singlesheavenhttp://www.singlesheaven.com ___ Stas Bekmanmailto:[EMAIL PROTECTED] http://www.stason.org/stas Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC perl.apache.orgmodperl.sourcegarden.org perlmonth.comperl.org single o- + single o-+ = singlesheavenhttp://www.singlesheaven.com