Apache2.x 【新鯖入荷しました】at PHP
Apache2.x 【新鯖入荷しました】 - 暇つぶし2ch580:nobodyさん
07/12/06 23:19:49 Hw5oiRQ3
すいません。mod_perl2とapache2でサイト構築してるんですが、
以下のことを実現したく設定していますがうまくいきません。
識者の方お助けを。
■やりたいこと
/cgi-bin/XXX/でアクセスされたときに、DirectoryIndexでindex.cgiに振りたい。
index.cgiはmod_perl2で動作させたい。

■設定1
DirectoryIndex index.cgi #ファイル指定なしはindex.cgiへ
Alias /cgi-bin/XXX/ "/home/aaa/cgi-bin/"
<DirectoryMatch "/home/aaa/cgi-bin/(.*.cgi)">
  SetHandler perl-script
  PerlResponseHandler ModPerl::Registry
  PerlOptions +ParseHeaders
  Options ExecCGI +MultiViews
</DirectoryMatch>
■動作1
URLリンク(localhost)でアクセス。
ブラウザ:
403(forbidden)
エラーログ:
Options ExecCGI is off in this directory: /home/aaa/cgi-bin/index.cgi

つづく


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch