linux apache如何设置才能支持cgi?
我拿c语言写了个cgi程序,但每每连接时,总是让我下载该cgi文件.服务器php程序都正常了,但却无法正确运行cgi,要怎么设置才行呢?
谢谢
[解决办法]
ScriptAlias /cgi-bin/ /home/test/cgi-bin/
AddHandler cgi-script .cgi
<Directory "/home/test/cgi-bin/ ">
AllowOverride None
Options ExecCGI
Order allow,deny
allow from all
</Directory>