0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

CGI

Webサーバーがクライアントからの要求に応じてサーバーサイド・スクリプトを起動するための仕組み

CGI用のプログラム(CGIプログラム)として定義されたコンテンツについてはそのままクライアントに返信せず、それをWebサーバー上で実行した時の結果を返信する

Webサーバー上でサーバーサイド・スクリプトを実行できるため、小規模な動的ページ作成に多く用いられる

サーバーサイド・スクリプト

  • CGIから呼び出されるプログラムのこと。

  • 一般的に文字列の扱いに長けたスクリプト言語と呼ばれる言語を記述される。
    具体的にはPerl,Ruby,Python,javascirptなど

  • CGIから呼び出すためHTMLと分離した別ファイルにします。

  • 言語はWebサーバー上で実行可能でなものであれば、なんでも良い。

出典

感想

CGIがいまいち理解できなかった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?