A question of CGI
When I browse a cgi file with IE, but failed.
the error info. in the error_log is Premature end of script headers: install.cgi [Wed Jul 02 14:15:13 2003] [error] [client 172.31.106.46] Can't locate LBCGI.pm 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 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /var/www/cgi-bin/install.cgi line 36. [Wed Jul 02 14:15:13 2003] [error] [client 172.31.106.46] BEGIN failed--compilation aborted at /var/www/cgi-bin/install.cgi line 36. what can i do? |
Install LBCGI.pm from www.perl.com/CPAN IMHO
|
thanks Nerd2.
I don't know which rpm need to install. I am just a newbie. Could you tell me? thanks. |
AFAIK you just download the perlmodule and dump it in /usr/lib/perl5/5.8.0.
However, I can't seem to find that module in CPAN anyway........?? |
I can't catch the head. I use command" perl install.cgi" , it is ok. It only couldn't be browsed in IE.
First I doubt the format of the cgi file is not ASCII, so I use dos2unix convert them again. But the result is as before. |
I modify the permission of part CGI file ,then the error become
mod_mime_magic: can't read `/var/www/cgi-bin/install.cgi' [Wed Jul 02 15:34:14 2003] [error] [client 172.31.106.46] Premature end of script headers: install.cgi |
All times are GMT -5. The time now is 04:15 AM. |