Wampserver 运行CGI程序的配置
这个好玩吗 2015-09-22 04:12:44 以前直接用的apache运行cgi程序,最近换了台电脑,安装的wampserver,按照原来在apache配置CGI的步骤总是不成功,wampserver的图标总是黄色。
我配置的步骤如下:
修改httpd.conf
#<Directory " D:/Wampserve/wamp/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
#<Directory "D:/Wampserve/wamp/bin/apache/apache2.4.9/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
原来Options Indexes FollowSymLinks,没有CGI的访问权限
改成Options Indexes FollowSymLinks ExecCGI后Wampserver服务器无法启动。怎么解决??