[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Perl CGI



Ryan McDougall writes....
> 
> Hey everyone,
> 
> I'm just wondering how may of you out there are programming in perl for the
> web? If you are did you have to do anything special to get the perl scripts to
> work?
> 
> The reason I ask this is becuase I CAN NOT get any of my perl scripts to run. I
> have tried to add a <Files> section to my perl.conf as per the perl docs but
> then I get an include error... I'm including a file that has some basic
> funtions that I wrote. The include error is this from the webpage:
> 

Does "perl/mylib.pl" exist and where?

The error looks pretty descriptive.
It's not in INC, and probably not in $PWD/perl either.
Probably going to have to move it, or tell INC where it is.


> Server error!
> The server encountered an internal error and was unable to complete your
> request. 
> Error message: 
> Can't locate perl/mylib.pl in @INC (@INC contains:
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
> /home/mcdougrs/public_html/clarkson/tc442/home.cgi line 2. 
> If you think this is a server error, please contact the webmaster 
> Error 500
> removed.the.address 
> Tue 04 Feb 2003 02:53:37 PM EST 
> Apache/2.0.40 (Red Hat Linux)
> 
> This is a stock 8.0 install with perl-5.8.0-55, mod_perl-1.99_05-3 and Apache
> httpd-2.0.40-8 for the stuff that matters. But I can't get these scripts to
> run... They are ones I wrote in a class last year on a RH7.3 stock install.
> 
> If this isn't the appropriate list I appologise and if you could point me to
> which list you think might be most appropriate I would appreciate it.
> 
> Thanx,
> Ryan
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> 
> 
> -- 
> Psyche-list mailing list
> Psyche-list redhat com
> https://listman.redhat.com/mailman/listinfo/psyche-list
> 


-- Jay Crews
jpc jaycrews com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]