LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 753|回复: 3

求助:APACHE中配置CGI的问题!!!

[复制链接]
发表于 2005-12-4 19:23:52 | 显示全部楼层 |阅读模式
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
错误是500     



test.cgi如下:
#!/usr/bin/perl
print "content-type: text/html\n\n";
print "helloworld";

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2005-12-4 22:14:47 | 显示全部楼层
这个问题有很多原因的.
脚本没有问题,在我这测试通过.
看看是不是没有给执行权限.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-4 22:38:42 | 显示全部楼层
多谢!!!至少我可以知道脚本本没问题,那还是从配置和权限去着手,能不能给个通过CGI的配置文件!!!
回复 支持 反对

使用道具 举报

发表于 2005-12-5 08:30:33 | 显示全部楼层
>>More information about this error may be available in the server error log<<
你看看错误记录
这种情况很有可能是cgi脚本发生错误。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表