中江さん どうもありがとうございます。 早速、未熟なもので設定が良くわからないので中江さんの行っている設定に access.conf を真似して書き換えをしたり、.htaccessのファイルも同じように記入 して /~username/cgi-bin/ に置きました。 そしてスクリプトのファイルの実行権も同じように705としてみました。 すると、CGIを実行すると今度は Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root _at_ localserver.net and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. となってしまいました。 ApacheとCGIは全くの素人なので原因がわかりません。 申し訳ありませんが、よろしくお願いします。m(__)m Nakae,Naotaka wrote in message <7vek8j$5dk$1 _at_ nn-tk106.ocn.ad.jp>... >中江ともうします。 >これだと設定側の問題でしょうね。 >スクリプト処理バイナリの指定をわざと間違えたところ、Internal Server Errorが >でましたので。 >access.confの設定はどうなっておりますか? >たとえば、当方ではこんな感じです。(すべてのスクリプトは[/~..../cgi-bin/]直 >下) ><Directory /home/*/public_html/> > AllowOverride Limit AuthConfig > Order allow,deny > Allow from all ></Directory> > ><Directory /home/*/public_html/cgi-bin/> > AllowOverride Limit AuthConfig FileInfo > Options ExecCGI > Order allow,deny > Allow from all ></Directory> > >".htaccess"ファイルはこうです。([/~..../cgi-bin/]直下) >AddType application/x-httpd-cgi .cgi >AddType application/x-httpd-cgi .pl > >さらにスクリプトファイルのパーミッションはどうでしょう? >当方では705としていますが‥ >
Follow-Ups:
- [fol] Re: Perl でCGIが動きません。Nakae,Naotaka
- [fol] Perl でCGI が動きません。Naoki Honda
- [fol] Re: Perl でCGIが動きません。Nakae,Naotaka
- Prev by Date: [fol] Re: Kernel install
- Next by Date: [fol] Re: LASER%Linux とSB16PnP
- Previous by thread: [fol] Re: Perl でCGIが動きません。
- Next by thread: [fol] Re: Perl でCGIが動きません。
- Indexes:[Main][Thread]