*6.1.4. GATEWAY_INTERFACE (関門界面) (CGI/1.1 draft 03) This metavariable is set to the dialect of CGI being used by the server to communicate with the script. Syntax: このメタ変数はサーバーがスクリプトと通信するのに使う CGI のことばを設定します。構文: GATEWAY_INTERFACE = "CGI" "/" major "." minor major = 1*digit minor = 1*digit Note that the major and minor numbers are treated as separate integers and hence each may be more than a single digit. Thus CGI/2.4 is a lower version than CGI/2.13 which in turn is lower than CGI/12.3. Leading zeros in either the major or the minor number MUST be ignored by scripts and SHOULD NOT be generated by servers. major (大), minor (小) 番号は別々の整数として扱われるので、 1桁の数以上のものであり得ることに注意して下さい。 ですから CGI/2.4 は CGI/2.13 より小さな版で、 CGI/2.13 は CGI/12.3 より小さな版です。 major・minor 番号の 頭の零を、スクリプトは無視し'''なければなりません'''が、 サーバーは生成する'''べきではありません'''。 This document defines the 1.1 version of the CGI interface ("CGI/1.1"). この文書は CGI 界面の 1.1 版 (「CGI/1.1」) を定義します。 Servers MUST provide this metavariable to scripts. サーバーはこのメタ変数をスクリプトに提供し'''なければなりません'''。 * RFC 3050 (SIP CGI/1.1) 5.5.1.4 GATEWAY_INTERFACE [7] >This metavariable is set to the dialect of SIP CGI being used by the server to communicate with the script. Syntax: この[[メタ変数]]は、 [[サーバー]]が[[スクリプト]]と通信する SIP CGI の種が設定されます。構文: > - GATEWAY_INTERFACE = "SIP-CGI" "/" major "." minor - major = 1*digit - minor = 1*digit >Note that the major and minor numbers are treated as separate integers and hence each may be more than a single digit. Thus SIP-CGI/2.4 is a lower version than SIP-CGI/2.13 which in turn is lower than SIP-CGI/12.3. Leading zeros in either the major or the minor number MUST be ignored by scripts and SHOULD NOT be generated by servers. >This document defines the 1.1 version of the SIP CGI interface ("SIP-CGI/1.1"). >Servers MUST provide this metavariable to scripts. > For maximal compatibility with existing HTTP CGI libraries, we want to keep this as similar as possible to the syntax of CGI 1.1. However, we do want it to be clear that this is indeed SIP CGI. Making HTTP CGI's version identifier a substring of the SIP CGI identifier seemed like a reasonable compromise. (The existing CGI libraries we checked do not seem to check the version.) * 実際に使われている値 [1] ,[CODE(CGI)[CGI/1.0]],[[CGI/1.0]] ,[CODE(CGI)[CGI/1.1]],[[CGI/1.1]] ,[CODE(CGI)[CGI/1.2 (Win),[[WinCGI]] ,[CODE(CGI)[CGI-Perl/1.1]],[[mod_perl]] ,[CODE(CGI)[CGI-PerlEx]],[[PerlEx]] ,[CODE(CGI)[CGI-Ruby/1.1]],[[mod_ruby]] ,[CODE(CGI)[SIP-CGI/1.1]],SIP-CGI/1.1 - [8] PerlEx の書式は仕様書に適合しませんね。 - [9] [[w3m]] [[LocalCGI]] は [CODE(CGI)[CGI/1.1]] でした。 [[#comment]] *RFC/I-D の部分の License [[RFCのライセンス]] *memo - [5] [NCSA] では、形式を簡単に「CGI/revision」として説明していました。 - [6] [[Apache]] の実装では、 [[SSI]] でこの変数を参照しても、 SSI から呼んだ CGI script で参照しても, [CODE(CGI)[CGI/1.1]] になります。