🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.perl
Article #102

Re: 「質問」HTML からの起動

#102
From: Maki Watanabe
Date: Sat, 14 Mar 1998 00:00
26 lines
1642 bytes
Mokke wrote:
> NT 上でPerlの使用を試みています。
> HTMLからのリンク時の起動はうまくいくのですが
> HTML からの 1時的な呼び出しができません。
> 
> <!--#exec cmd="./gcnt.pl"-->
> 
> は使えないのでしょうか?
>    kasitune : Yoshimoto Hiroyuki
>    e-mail   : kasitune@venus.dti.ne.jp

いろいろと解釈できる質問ですが、

1. 一般的に、Webサーバ経由でないとCGIプログラムは動作しません。
2. ここで指定している ./gcnt.pl は、「カレントディレクトリの
   下の gcnt.pl というファイル」を意味しますが、
   CGIが起動される環境、即ち Webサーバのカレントディレクトリは
   普通はHTMLファイルが置かれているディレクトリではありません。
   従って Web サーバプロセスが ./gcnt.pl という指示をみて「自分の
   カレントディレクトリ」を調べても、gcnt.plというファイルは
   見つからないでしょう。

続きは fj.net.infosystems.www.authoring で。

mw
Technical Details
Message-ID: <350A4930.ABA8A8A@tko.dec.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bd4f10$2461c460$41bda8c0@kasi-k6.dtinet.ne.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 1043e7,e2f02573f5ba10d9
X-Google-Attributes: gid1043e7,public
From: Maki Watanabe <watanabe.maki@tko.dec.com>
Subject: Re: 「質問」HTML からの起動
Date: 1998/03/14
Message-ID: <350A4930.ABA8A8A@tko.dec.com>
X-Deja-AN: 333953317
Content-Transfer-Encoding: 7bit
References: <01bd4f10$2461c460$41bda8c0@kasi-k6.dtinet.ne.jp>
Followup-To: fj.net.infosystems.www.authoring
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Organization: Digital Equipment Corporation Japan
Newsgroups: fj.lang.perl