LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
123
返回列表 发新帖
楼主: Seven

刚装好的FC3,怎么支持cgi??

[复制链接]
 楼主| 发表于 2004-12-28 12:46:58 | 显示全部楼层
Post by jhuangjiahua
问题在文件第一行

你的文件是用 Windows 格式的换行符\r\n

Linux 无法解释



我的test.cgi是在 linux下用vi 写的
发表于 2005-1-6 02:24:01 | 显示全部楼层

支持,谁给解决一下啊。。我的也是啊

我的  test.cgi
#!/usr/bin/perl
print("nininini");

在控制台下可以执行,但是不能用浏览器访问。
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 f 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.
发表于 2005-1-7 00:54:29 | 显示全部楼层
谁的APACHE能用CGI 啊,,可以 贴出来一份 httpd.conf 么??????

在此表示谢谢!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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