- 追加された行はこの色です。
- 削除された行はこの色です。
*WindowsでCGI
**ActivePerlのインストール
ActivePerl-5.8.0.806-MSWin32-x86.msiを実行
インストール先に
C:\Perl\
を指定
Enable PPM3 to send profile into ASPN
はチェックボックスをつけないでおきます。
**Apacheのインストール
apache_2.0.45-win32-x86-no_ssl.msiを実行
----
これでとりあえず
cgi-bin/
内についてはCGIが稼動する
**ExecCGIの記述
<Directory "C:/ApacheGroup/Apache2/htdocs">
#
# 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.0/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks ExecCGI ←ここ
**AddHandlerの記述
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
AddHandler cgi-script .cgi ←ここ
でOK!