|
完全安装RedHat 9.0 ,想在上面安装bugzilla
perl模块和mysql都设置好了,现在遇到一个问题,头痛了几天一直无法解决,在此请教大家!
bugzilla的进入页面是index.cgi,这个文件已运行就报如下错误:
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Can't locate CGI.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 /var/www/html/fixbug/index.cgi line 35.
If you think this is a server error, please contact the webmaster
Error 500
172.31.0.30
Wed 14 Jul 2004 11:49:45 AM CST
Apache/2.0.40 (Red Hat Linux)
文件中的语句是:
use lib ".";
require "CGI.pl";
从出错信息看,是不能在当前目录找到CGI.pl这个文件,可是文件是在的,不知道哪里出错!那个当前路径 . 也在的,出错信息中列出了,可就是找不到文件啊555~~~,把文件复制到后面列出路径就能找到!请大家帮我想一下,是不是apache的问题还是其它的设置问题? |
|