08/03/08 17:18:57
Perlで作ったCGIのローカルテスト環境を作ろうとしています。
Apache/2.0.63 C:/Program files/Apache Group/Apache2/
ActivePerl C:/Perl/
をインストールしました。
httpd.confで
DocumentRootは D:/hoge/home/ に設定し、
<Directory />
Order deny,allow
Deny from all
Allow from localhost
</Directory>
に設定しました。
D:/hoge/home/に index.htmlを置いて、そこからリンクでaaa.cgiを呼び出しているのですが
Forbiddenで動作しません。エラーログ等を見て
<Directory />
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>
と書いたのですが、それでも
Options ExecCGI is off in this directory: D:/hoge/home/aaa.cgi
と表示されます。
どうすれば上手くいきますか?
また、cgiファイルのperlを呼び出すパスはどのように書けばよいですか?