ショッピングカートがどうしても動きません。教えてください。 |
このメッセージの投稿者: まーくさん 2000/08/17 18:17:36環境は、Perl5 PCLINUX(Turb LINUX6.0)です。
http://www.ドメイン.co.jp/~ホルダー名/cgi-bin/shop/shop.cgiで動かしてみたいのですがどうしても動きません。
perlは、usr/bin/perlにあります。
私のホームページで、cgi-binは以下のようになっています。
/home/ホルダー名/public_html/cgi-bin/shop
cgi-binの下にshopホルダーを作り、shopホルダーの下にそれぞれ lib img dataのホルダーを作っています。パーミッションもいろいろ試してみましたが、サーバーが以下のようなエラーを返します。
----------------エラー内容----------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@chidori.co.jp 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.
----------------エラー内容ここまで---------shop.cgiの設定は以下のようにしています。
-------------設定内容-------------------
#!/usr/bin/perl$ver=1.10;
$crypt=1;
$env=1;
#━━━━━━ 変数の定義 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━$charcode='sjis';
$cgi='http://www.ドメイン.co.jp/~ホルダー名/cgi-bin/shop/shop.cgi';
$catalogdir='/ホルダー名/public_html/cgi-bin/shop/shop';
$catalogurl='http://www.ドメイン.co.jp/~ホルダー名/cgi-bin/shop/shop';
$datadir='/ホルダー名/public_html/cgi-bin/shop/data';
$dataurl='http://www.ドメイン.co.jp/~ホルダー名/cgi-bin/shop/data';
$imgdir='/ホルダー名/public_html/cgi-bin/shop/img';
$imgurl='http://www.ドメイン.co.jp/~ホルダー名/cgi-bin/shop/img';
$libpath='./lib;
$basefont='MS UI Gothic';
$frame=0;
$bgcolor='#b0e0e6';
$background='';$thankscomment='ご注文ありがとうございました。<br>商品が届くまでこの画面をプリントアウトするか保存しておくようにしてください。<br>xxxxx<br>電話 xxx-xxx-xxxx<br>E-Mail xxxxxx@xxxx.co.jp <br><br>';
#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
$k='T1RNSjek1EUTBOakkzCg';
if($libpath){push @INC,"$libpath"}
require 'cgi-conv.pl';
require 'base64.pl';
&init();
$|=1;
ーーーーーーーーーーーーーーーーー設定内容ここまでーーーーーーーーーーーーーーーあと、ライブラリーはcgi-conv.pl smtp.pl pop3.pl jcode.pl fold.pl
mimew.pl base64.plをlibホルダーの中に入れてあります。是非試してみたいので、何とか動かせるようにサポートお願いします。
できれば、パーミッションの設定もそれぞれおしえてください。
このメッセージへの返事:
- Re:ショッピングカートがどうしても動きません。教えてください。 - ベルコールさん 2000/08/17 22:41:09 (2)
- Re:ショッピングカートがどうしても動きません。教えてください。 - まーくさん 2000/08/22 16:07:53 (0)