RE: CGI Scripts w/mod_perl
Hi all, > On Fri, 26 Jul 2002, Mark Coffman wrote: > > Try running "which perl" and use that path for your #!/usr/bin/perl line. > > Then rename your script as .cgi and see if that helps. Of course none of this absolves Christina from reading the Eagle Book, the mod_perl Guide, the Cookbook (Geoff - see that?) and truckloads of other stuff which you will be able to find through the mod_perl site http://perl.apache.org when you do actually start to use modperl. For example you can find out how to run mod_perl and non-mod_perl applications under the same Apache which isn't a bad way to get your feet wet. 73, Ged.
Re: CGI Scripts w/mod_perl
I'm sending out the sincerest of thank you's to all of you who helped me with my problem earlier today! I was offline most of the afternoon, but found your messages this evening and miracle of all miracles, I actually got the script to work. Thanks everyone! Christina - Original Message - From: Mark Coffman To: Christina ; [EMAIL PROTECTED] Sent: Friday, July 26, 2002 9:43 AM Subject: RE: CGI Scripts w/mod_perl Try running "which perl" and use that path for your #!/usr/bin/perl line. Then rename your script as .cgi and see if that helps. Mark -Original Message-From: Christina [mailto:[EMAIL PROTECTED]]Sent: Friday, July 26, 2002 9:32 AMTo: [EMAIL PROTECTED]Subject: CGI Scripts w/mod_perl Hi, I installed a CGI script last night, only to later realize the server is running mod_perl, instead of Perl. I have never worked with mod_perl before, so I'm wondering if this is why the script won't function on the server. The script calls for a change in the first line of the code in all .pl files if the path to perl is different from #!/usr/bin/perl, but I can't find anything in the server to indicate what the path should be using mod_perl. I am completely confused at this point so any guidance in the right direction would be greatly appreciated! Thanks, Christina
RE: CGI Scripts w/mod_perl
On Fri, 26 Jul 2002, Mark Coffman wrote: > Try running "which perl" and use that path for your #!/usr/bin/perl line. > Then rename your script as .cgi and see if that helps. Um.. yeah, ignore all my "locate" tribble. 'which' is the way to go. That wasn't a question.
RE: CGI Scripts w/mod_perl
Try running "which perl" and use that path for your #!/usr/bin/perl line. Then rename your script as .cgi and see if that helps. Mark -Original Message-From: Christina [mailto:[EMAIL PROTECTED]]Sent: Friday, July 26, 2002 9:32 AMTo: [EMAIL PROTECTED]Subject: CGI Scripts w/mod_perl Hi, I installed a CGI script last night, only to later realize the server is running mod_perl, instead of Perl. I have never worked with mod_perl before, so I'm wondering if this is why the script won't function on the server. The script calls for a change in the first line of the code in all .pl files if the path to perl is different from #!/usr/bin/perl, but I can't find anything in the server to indicate what the path should be using mod_perl. I am completely confused at this point so any guidance in the right direction would be greatly appreciated! Thanks, Christina