急~~~Apache+CGI,系统调用后,出现服务器错误页面,怎么办啊~大牛帮帮忙拉
我在do.c程序里使用了system("/tmp/test"),test是我已经写好的程序,在命令行下没有问题。test会在标准输出上有一些文字。
do是一个页面上的form,中间有个按钮提交信息,当按下时会执行system这句。
我曾经使用execve()代替system(),倒是不出页面错误了,test程序却不执行!
各位大牛帮帮忙吧!!!
错误显示:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, phonix@fwgate.hisense.com 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.
--------------------------------------------------------------------------------
Apache/1.3.26 Server at fwgate.hisense.com Port 443
do是一个页面上的form,中间有个按钮提交信息,当按下时会执行system这句。
我曾经使用execve()代替system(),倒是不出页面错误了,test程序却不执行!
各位大牛帮帮忙吧!!!
错误显示:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, phonix@fwgate.hisense.com 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.
--------------------------------------------------------------------------------
Apache/1.3.26 Server at fwgate.hisense.com Port 443
...全文
相关推荐
STM32+LWIP+WEB_SSI_CGI
STM32+LWIP+WEB_SSI_CGI能用的网络编程
Linux下通过cgi将HTML页面输入内容写入txt文件
文档内容为linux下通过cgi将html页面的输入内容写入到txt文本文件的小案例,可供初学者参考
boa移植+CGI编程
boa服务器的移植,CGI的c编程实现网页的动态互动
BOA+CGI测试例程.rar_CGI arm_arm cgi_boa_boa cgi_cgi boa
BOA+CGI arm代码,对初学者很有帮助
blog-cgi-html:我的博客 cgi+python+redis
博客-cgi-html 我的博客 cgi+python+redis


