Apache HTTP Server Version 2.4

| : | CGI ũƮ |
|---|---|
| : | Base |
| : | cgi_module |
| ҽ: | mod_cgi.c |
mime type application/x-httpd-cgḭų
(ġ 1.1 ) ڵ鷯 cgi-script
CGI ũƮ νϿ, ϰ, Ŭ̾Ʈ
. AddType
þ Ȯڸ ų, ScriptAlias 丮 ȿ
CGI óȴ.
CGI ũƮ θ DOCUMENT_ROOT
ȯ溯 ߰Ѵ. DocumentRoot .
ġ CGI ũƮ ϴ Ұ CGI 丮 ϶.
н ߾ MPM Ѵٸ
mod_cgid ؾ Ѵ.
忡 ⺻ ϴ.
CGI ǥ ϴ CGI ȯ溯 Ѵ:
AcceptPathInfo þ off
쿡 Ѵ. AcceptPathInfo ⺻
ִ û 404 NOT FOUND ,
mod_cgi (URI ũƮ
ϸ ڿ /more/path/info) ´.
AcceptPathInfo þ ϸ
mod_cgi û ؼ AcceptPathInfo On
Ͱ .HostnameLookups on̰ (⺻
off), ȣƮ ּҸ DNS ˻Ͽ ȣƮ
ã 쿡 Ѵ.IdentityCheck on̰,
ȣƮ ident ϴ 쿡 Ѵ.
ֱ
ȵǰ, Ŭ̾Ʈ ̿ Ͻð ִٸ
ǹ ϶. ߸ Ǵ ũƮ (ǥ° ǥؿ) CGI ũƮ ϱ . ġ 1.2 Ŀ ߰ þ ϸ ڼ α ִ.
CGI α״ CGI Ѵ. CGI ũƮ α . ù° Ʒ ̴:
%% [ð] û
%% HTTP- CGI-ũƮ-ϸ
CGI ũƮ αϿ ߰ Ѵ:
%%error
ũƮ ( ũƮ ) ߸ ȯϴ , α Ѵ:
%request
HTTP
(ִٸ) POST PUT
%response
CGI ũƮ
%stdout
CGI ǥ
%stderr
CGI ǥؿ
(ũƮ ǥ̳ ǥؿ ƹ 뵵 ʾҴٸ %stdout %stderr κ ִ).
| : | The length of time to wait for more output from the CGI program |
|---|---|
| : | CGIScriptTimeout time[s|ms] |
| ⺻: | value of |
| : | ּ, ȣƮ, directory, .htaccess |
| : | Base |
| : | mod_cgi |
| : | Available in version 2.4.59 and later. |
The documentation for this directive has not been translated yet. Please have a look at the English version.
| : | CGI ũƮ α ġ |
|---|---|
| : | ScriptLog file-path |
| : | ּ, ȣƮ |
| : | Base |
| : | mod_cgi, mod_cgid |
ScriptLog þ CGI ũƮ
α Ѵ. ScriptLog
α ʴ´. ϸ ƱԸƮ
Ͽ CGI Ѵ. θ ϸ
ServerRoot η
Ƶδ.
ScriptLog logs/cgi_log
ڽ μ ϴ , User þ
α . ڰ ũƮ αװ
ִ 丮 ִ, ̸
ڿ Ѵ. ũƮ α α
丮 дٸ ڽ μ ϴ ڿ
ֱ 丮 .
ũƮ α״ CGI ũƮ ۼҶ 뵵 ϴ ϱ ƴ ϶. ӵ ȿ鿡 ȭ ȵְ, ̿ ϸ Ȼ ִ.