Hi JH, Thanks very much for the advice, but unfortunately reinstalling the web server & perl and starting over isn't an option for me, as I am already developing a PHP program using the apache2triad set-up and my computer is severely limited on space now. However, I will check the apache documentation as it seems like it must be a problem with the web server configuration. I had just hoped I might find someone on this list using the apache2 triad bundle who had run into this before.
Thanks! Allison ----- Original Message ----- From: "JH Foo" <[EMAIL PROTECTED]> To: "Allison Bloodworth" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, December 01, 2004 5:24 PM Subject: Re: Perl executing at cmd line but not in apache 2.0.48 > Hello Allison, > > Why don't you try installing Apache 2 + Perl 5.8 + mod_perl separately? > I've set up a couple of such combinations, and will be setting up a few > more for my upcoming applications. The set up guide found in > perl.apache.org is pretty good; you'll find all you need to configure there. > > The other side benefit is that you'll get the latest versions of Apache > (now at .52 I think). > > Allison Bloodworth wrote: > > > Hi, > > > > I have installed the apache2triad > > (http://apache2triad.sourceforge.net/) software bundle which includes > > Apache version 2.0.48 & Perl 5.8.0 with > > mod_perl 1.99_10. There appear to be forums for apache2triad but I get > > a message saying the website can't be found. I've been able to get > > .cgi scripts running on my apache server to execute in a web brower, > > but not .pl files (I just see the perl file instead of the interpreted > > html/cgi file). I tried modifing httpd.conf to add the .pl extension > > like this: > > > > AddHandler cgi-script .cgi .pl > > > > but it didn't help. > > > > Perl runs fine at > > the command line. I am > > running windows 2000 and followed the instructions on in the Perl > > Win32 documentation > > (http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=perlwin32 > > <http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=perlwin32>) > > about associating the .pl file extension (my PATH EXT now reads: > > PATHEXT=.pl;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH) and setting > > up an open command for the .pl file type > > ( ASSOC .pl=PerlScript > > FTYPE PerlScript=perl.exe %1 %*) > > but that didn't help either. I even changed the instructions at the top of > > the file to say "#!c:/apache2/perl/bin/perl.exe" (where Perl is > > actually located for me), but it did no good. > > > > On the ActivePerl website it says " Installing ActivePerl will change > > your Path environment variable and may change registry settings, such > > as file associations, which may affect your Web server. If you want to > > use a previously installed copy of Perl, you will need to modify these > > settings." > > (http://aspn.activestate.com/ASPN/docs/ActivePerl/faq/ActivePerl-faq1.html#H ow_do_I_install_the_Perl_for_Windows) > > > > But I can't find information anywhere on how to fix these problems > > within my apache webserver. Any help anyone can give me on this would > > be *greatly* appreciated! > > > > Thanks, > > Allison Bloodworth > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >Perl-Win32-Web mailing list > >[EMAIL PROTECTED] > >To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > > > > > _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs