1. Apache/conf/httpd.conf文件的配置(两处改动)
<Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/cgi-bin">
AllowOverride None
#Options None //此处为原始值,应注释掉
Options Indexes ExecCGI
Order allow,deny
Allow from all
</Dirctory>
#AddHandler cgi-script .cgi //此处将注释取消,使其能运行cgi程序
2
650



被折叠的 条评论
为什么被折叠?



