Top / Windows / CGI

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!


現在のアクセス:4643


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2003-11-19 (水) 00:57:10 (7462d)