Windows/CGI
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#topicpath
----
*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", ...
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch...
#
# Note that "MultiViews" must be named *explicitly* --- ...
# doesn't give it to you.
#
# The Options directive is both complicated and importan...
# 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 t...
# actions unrelated to filetype. These can be either bui...
# 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" ...
#
AddHandler cgi-script .cgi ←ここ
でOK!
#navi(Windows)
SIZE(10){現在のアクセス:&counter;}
終了行:
#topicpath
----
*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", ...
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch...
#
# Note that "MultiViews" must be named *explicitly* --- ...
# doesn't give it to you.
#
# The Options directive is both complicated and importan...
# 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 t...
# actions unrelated to filetype. These can be either bui...
# 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" ...
#
AddHandler cgi-script .cgi ←ここ
でOK!
#navi(Windows)
SIZE(10){現在のアクセス:&counter;}
ページ名: