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服务器无法启动。怎么解决??
...全文
223 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
仰望那天空 2015-10-10
  • 打赏
  • 举报
回复
试试先把本地IIS服务关闭,再重启Wampserver
peter王 2015-10-10
  • 打赏
  • 举报
回复
如果用的是wamp的话 ,fcgi的拓展包里面有配置方法

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧