Folks I'm back begging for help again.
Spencer at globalservers.com has recompiled mod_per and apache using perl 5.8. See message below.
We have perl 5.8.0 installed at /usr/bin.
We have perl 5.8.3 installed at /usr/local/bin
...
When I comment out these lines and put them in the /home/webadmin/ptoc.org/register/.htaccess file. I get the following error when I run my test.asp (Hello World) asp. [Wed Jan 28 11:24:58 2004] [alert] [client 207.43.195.204] /home/webadmin/ptoc.org/register/.htaccess: Can't locate Digest/MD5.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 13. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 13. Compilation failed in require at (eval 2) line 3.
We don't understand why it's showing perl 5.6 in the error message and of course it don't work.
When perl 5.6 is in @INC, which is the search path for perl libraries, its a pretty good indication that mod_perl was not recompiled and installed correctly to use the new perl 5.8.
Note that its easy to recompile, without reinstalling, and easy to reinstall without stop/start the apache server, all of which need to be done correctly to get things to work. These are common mistakes people do when trying to install mod_perl.
With the lines commented out here's the error_log entry from a good restart: [Wed Jan 28 11:23:46 2004] [notice] Apache/1.3.27 (Unix) (Red-Hat/Linux) PHP/4.1.2 mod_perl/1.26 configured -- resuming normal operations
If you added to the httpd.conf
<Perl> print STDERR join(" ", @INC)."\n"; </Perl>
you would also get a pretty good view into where mod_perl thought it was installed when the server is stop/start and you can check the error_log.
You could get an even better view by adding this:
<Perl> use Config; print STDERR map { "$_: $Config{$_}\n" } keys %Config </Perl>
to the httpd.conf and just running something like apachectl configtest which I think will get to you on the console.
Regards,
Josh
________________________________________________________________ Josh Chamas, Founder phone:925-552-0128 Chamas Enterprises Inc. http://www.chamas.com NodeWorks Link Checker http://www.nodeworks.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]