apache搭建cgi出现的问题

yopper_ 2013-01-22 11:43:27
apache搭建cgi服务器:
linux下c编程的cgi文件放在cgi-bin目录下
html和js文件放在htdocs目录下

测试时报:
500 Internal Server Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

error.log中:
C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/a.cgi is not executable; ensure interpreted scripts have "#!" first line, referer: http://localhost:50080/Login.html
Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/a.cgi, referer: http://localhost:50080/Login.html

不知何故,各位请帮忙!!!
...全文
149 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

2,204

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 CGI
社区管理员
  • CGI社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧