这是CSDN上的http://topic.csdn.net/u/20070312/14/a183eb3e-54f0-4524-bfcc-428ca99dbeb0.html上的围棋工具,可是为什么我按它说明
1. 将所有文件放到你的cgi-bin所在目录
2. 更改conf.txt设定程序运行配置文件
假设你的mycgi.cgi程序所在位置为/cgi-bin/mycgi.cgi
在浏览器地址栏输入http://www.momachina.ch/cgi-bin/mycgi.cgi?<command order="home" />开始玩吧
#设定SERVER_URL为你的web服务器的地址
SERVER_URL=http://www.momachina.ch;
#设定CGI_NAME为mycgi.cgi文件所在web服务上的路径
CGI_NAME=/cgi-bin/mycgi.cgi;
#设定FLASH_URL为flashcgi.swf文件所在web服务上的路径
FLASH_URL=/flashcgi.swf;
为什么我打不开网页呢,我一开就会是这么一页
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, hostmaster@ows.ch 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/2.0.54 (Omicron Web-Services) Server at www.momachina.ch Port 80
flashcgi.swf 这个文件我为了试验,不仅放在CGI-BIN 里,也放在了站点的根目录下了呀
http://www.momachina.ch/cgi-bin/mycgi.cgi?<command order="home" />
------解决方案--------------------
你下载的那个程序有问题吧
我改成可执行的,然后当前目录下执行,都不行!apache当然启动不了
[cjp@172 test]$ ls -l mycgi.cgi
-rwxr-xr-x 1 cjp server 45056 Mar 12 2007 mycgi.cgi
[cjp@172 test]$ ./mycgi.cgi
-bash: ./mycgi.cgi: cannot execute binary file
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html