免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1272 | 回复: 2
打印 上一主题 下一主题

[Web] Apache运行CGI问题,在线等! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-12-14 14:35 |只看该作者 |倒序浏览
操作系统 RedHat 8.0
apache 2.0.40
perl   5.8.0

apache运行 html htm 都没有问题,但是在运行CGI脚本的时候,出现如下错误


Software error:
Can't locate data/params 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 globals.pl line 1448.

For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.

Software error:
[Tue Dec 14 15:12:28 2004] attachment.cgi: Can't locate data/params 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 globals.pl line 1448.
Compilation failed in require at /var/www/html/bugzilla/attachment.cgi line 40.

For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.




我应该怎么办?

论坛徽章:
0
2 [报告]
发表于 2004-12-14 14:38 |只看该作者

Apache运行CGI问题,在线等!

刚才我修改了 perl.conf 出现了如下的错误

Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster
Error 403
211.94.164.120
2004Äê12ÔÂ14ÈÕ ÐÇÆÚ&& 15ʱ15·Ö34Ã&
Apache/2.0.40 (Red Hat Linux)

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
3 [报告]
发表于 2004-12-27 13:07 |只看该作者

Apache运行CGI问题,在线等!

你chmod -R 你的cgi所在的目录测试一下子
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP