📄 mod_cgi.html.ko.euc-kr
字号:
<?xml version="1.0" encoding="EUC-KR"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --><title>mod_cgi - Apache HTTP Server</title><link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /><link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /><link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link href="../images/favicon.ico" rel="shortcut icon" /></head><body><div id="page-header"><p class="menu"><a href="../mod/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="../images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">葛碘</a></div><div id="page-content"><div id="preamble"><h1>酒颇摹 葛碘 mod_cgi</h1><div class="toplang"><p><span>啊瓷茄 攫绢: </span><a href="../en/mod/mod_cgi.html" hreflang="en" rel="alternate" title="English"> en </a> |<a href="../ja/mod/mod_cgi.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |<a href="../ko/mod/mod_cgi.html" title="Korean"> ko </a></p></div><table class="module"><tr><th><a href="module-dict.html#Description">汲疙:</a></th><td>CGI 胶农赋飘 角青</td></tr><tr><th><a href="module-dict.html#Status">惑怕:</a></th><td>Base</td></tr><tr><th><a href="module-dict.html#ModuleIdentifier">葛碘疙:</a></th><td>cgi_module</td></tr><tr><th><a href="module-dict.html#SourceFile">家胶颇老:</a></th><td>mod_cgi.c</td></tr></table><h3>夸距</h3> <p>辑滚绰 mime type捞 <code>application/x-httpd-cgi</code>捞芭唱 (酒颇摹 1.1 捞饶) 勤甸矾啊 <code>cgi-script</code>牢 葛电 颇老阑 CGI 胶农赋飘肺 牢侥窍咯, 角青窍绊, 弊 搬苞甫 努扼捞攫飘俊霸 焊辰促. 颇老捞 <code class="directive"><a href="../mod/mod_mime.html#addtype">AddType</a></code> 瘤矫绢肺 瘤沥茄 犬厘磊甫 啊瘤芭唱, <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code> 叼泛配府 救俊 乐栏搁 CGI肺 贸府等促.</p> <p>辑滚绰 CGI 胶农赋飘甫 何甫锭 <code>DOCUMENT_ROOT</code>扼绰 券版函荐甫 眠啊茄促. 捞 函荐绰 <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> 汲沥蔼阑 啊柳促.</p> <p>酒颇摹俊辑 CGI 胶农赋飘甫 荤侩窍绰 规过俊 措茄 家俺绰 <a href="../howto/cgi.html">CGI肺 悼利 其捞瘤 积己</a> 捧配府倔阑 曼绊窍扼.</p> <p>蜡葱胶俊辑 促吝静饭靛 MPM阑 荤侩茄促搁 捞 葛碘措脚 <code class="module"><a href="../mod/mod_cgid.html">mod_cgid</a></code> 葛碘阑 荤侩秦具 茄促. 荤侩磊 涝厘俊辑 捞 滴 葛碘篮 扁夯利栏肺 悼老窍促.</p></div><div id="quickview"><h3 class="directives">瘤矫绢甸</h3><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#scriptlog">ScriptLog</a></li><li><img alt="" src="../images/down.gif" /> <a href="#scriptlogbuffer">ScriptLogBuffer</a></li><li><img alt="" src="../images/down.gif" /> <a href="#scriptloglength">ScriptLogLength</a></li></ul><h3>林力</h3><ul id="topics"><li><img alt="" src="../images/down.gif" /> <a href="#env">CGI 券版函荐</a></li><li><img alt="" src="../images/down.gif" /> <a href="#cgi-debug">CGI 叼滚彪</a></li></ul><h3>曼绊</h3><ul class="seealso"><li><code class="directive"><a href="../mod/core.html#acceptpathinfo">AcceptPathInfo</a></code></li><li><code class="directive"><a href="../mod/core.html#options">Options</a></code></li><li><code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code></li><li><code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code></li><li><a href="../suexec.html">促弗 荤侩磊 ID肺 CGI 橇肺弊伐角青窍扁</a></li><li><a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI 钎霖</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="env" id="env">CGI 券版函荐</a></h2> <p>辑滚绰 促澜苞 鞍篮 规过栏肺 <a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI 钎霖</a>捞 汲疙窍绰 CGI 券版函荐甫 汲沥茄促:</p> <dl> <dt>PATH_INFO</dt> <dd>捞 函荐绰 <code class="directive"><a href="../mod/core.html#acceptpathinfo">AcceptPathInfo</a></code> 瘤矫绢甫 流立 <code>off</code>肺 瘤沥茄 版快俊父 汲沥茄促. <code class="directive">AcceptPathInfo</code>啊 绝绰 版快 辑滚绰 扁夯利栏肺 版肺 沥焊啊 乐绰 夸没俊 措秦 404 NOT FOUND 坷幅甫 郴瘤父, <code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code>绰 版肺 沥焊甫 (URI俊辑 胶农赋飘 颇老疙 第俊 唱坷绰 <code>/more/path/info</code>) 罐绰促. <code class="directive">AcceptPathInfo</code> 瘤矫绢甫 积帆窍搁 <code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code> 夸没俊 措秦辑 <code class="directive"><a href="../mod/core.html#acceptpathinfo">AcceptPathInfo</a></code>甫 <code>On</code>栏肺 汲沥茄 巴苞 鞍促.</dd> <dt>REMOTE_HOST</dt> <dd>捞 函荐绰 <code class="directive"><a href="../mod/core.html#hostnamelookups">HostnameLookups</a></code>啊 <code>on</code>捞绊 (扁夯蔼篮 off), 立加茄 龋胶飘 林家甫 开DNS 八祸窍咯 角力 龋胶飘疙阑 茫篮 版快俊父 汲沥茄促.</dd> <dt>REMOTE_IDENT</dt> <dd>捞 函荐绰 <code class="directive"><a href="../mod/core.html#identitycheck">IdentityCheck</a></code>啊 <code>on</code>捞绊, 立加茄 龋胶飘啊 ident 橇肺配妮阑 瘤盔窍绰 版快俊父 汲沥茄促. 奖霸 捞 蔼阑 加老 荐 乐扁锭巩俊 捞 函荐狼 郴侩阑 瓜栏搁 救登绊, 努扼捞攫飘客 辑滚 荤捞俊 橇废矫啊 乐促搁 函荐 郴侩捞 肯傈洒 公狼固窃阑 林狼窍扼.</dd> <dt>REMOTE_USER</dt> <dd>CGI 胶农赋飘啊 牢刘阑 芭媚具窍绰 版快俊父 汲沥茄促.</dd> </dl></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="cgi-debug" id="cgi-debug">CGI 叼滚彪</a></h2> <p>绢叼俊辑 肋给 角青登绰瘤 胶农赋飘狼 免仿阑 (钎霖免仿苞 钎霖坷幅) 杭 荐 绝扁锭巩俊 CGI 胶农赋飘绰 傈烹利栏肺 叼滚彪窍扁 绢妨奎促. 酒颇摹 1.2 捞饶俊 眠啊等 瘤矫绢甫 荤侩窍搁 惯积茄 坷幅甫 磊技洒 肺弊俊 巢辨 荐 乐促.</p> <h3>CGI 肺弊颇老 屈侥</h3> <p>CGI 坷幅肺弊绰 沥惑利栏肺 角青窍瘤 给茄 CGI甫 扁废茄促. 坷幅啊 惯积茄 CGI 胶农赋飘绰 肺弊俊 咯矾 临狼 沥焊甫 巢变促. 霉锅掳 滴 临篮 亲惑 酒贰客 鞍篮 屈侥捞促:</p> <div class="example"><p><code> %% [<var>矫埃</var>] <var>夸没临</var><br /> %% <var>HTTP-惑怕</var> <var>CGI-胶农赋飘-颇老疙</var> </code></p></div> <p>CGI 胶农赋飘甫 角青且 荐 绝绰 坷幅牢 版快 肺弊颇老俊 眠啊肺 滴 临阑 歹 扁废茄促:</p> <div class="example"><p><code> %%error<br /> <var>坷幅巩</var> </code></p></div> <p>胶农赋飘啊 (焊烹 胶农赋飘狼 滚弊锭巩俊) 肋给等 庆歹 沥焊甫 馆券窍绰 版快, 促澜 郴侩阑 肺弊俊 扁废茄促:</p> <div class="example"><p><code> %request<br /> <var>罐篮 葛电 HTTP 庆歹</var><br /> <var>(乐促搁) POST唱 PUT 郴侩</var><br /> %response<br /> <var>CGI 胶农赋飘 免仿狼 葛电 庆歹</var><br /> %stdout<br /> <var>CGI 钎霖免仿</var><br /> %stderr<br /> <var>CGI 钎霖坷幅</var><br /> </code></p></div> <p>(胶农赋飘啊 钎霖免仿捞唱 钎霖坷幅俊 酒公 郴侩档 免仿窍瘤 臼疽促搁 %stdout苞 %stderr 何盒篮 积帆瞪 荐 乐促).</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ScriptLog" id="ScriptLog">ScriptLog</a> <a name="scriptlog" id="scriptlog">瘤矫绢</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">汲疙:</a></th><td>CGI 胶农赋飘 坷幅肺弊颇老狼 困摹</td></tr><tr><th><a href="directive-dict.html#Syntax">巩过:</a></th><td><code>ScriptLog <var>file-path</var></code></td></tr><tr><th><a href="directive-dict.html#Context">荤侩厘家:</a></th><td>林辑滚汲沥, 啊惑龋胶飘</td></tr><tr><th><a href="directive-dict.html#Status">惑怕:</a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">葛碘:</a></th><td><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code>, <code class="module"><a href="../mod/mod_cgid.html">mod_cgid</a></code></td></tr></table> <p><code class="directive">ScriptLog</code> 瘤矫绢绰 CGI 胶农赋飘 坷幅肺弊颇老阑 瘤沥茄促. <code class="directive">ScriptLog</code>甫 荤侩窍瘤臼栏搁 坷幅肺弊甫 父甸瘤 臼绰促. 荤侩窍搁 酒痹刚飘肺 瘤沥茄 颇老俊 CGI 坷幅甫 扁废茄促. 惑措版肺甫 瘤沥窍搁 <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>俊 惑措版肺肺 罐酒甸牢促. </p> <div class="example"><h3>抗力</h3><p><code> ScriptLog logs/cgi_log </code></p></div> <p>磊侥 橇肺技胶甫 角青窍绰 荤侩磊, <em>溜</em> <code class="directive"><a href="../mod/mpm_common.html#user">User</a></code> 瘤矫绢肺 瘤沥茄 荤侩磊 鼻茄栏肺 肺弊甫 楷促. 弊贰辑 弊 荤侩磊啊 胶农赋飘 肺弊啊 乐绰 叼泛配府俊 静扁鼻茄捞 乐带瘤, 流立 固府 颇老阑 父甸绢辑 弊 荤侩磊俊霸 静扁鼻茄阑 拎具 茄促. 胶农赋飘 肺弊甫 林 肺弊 叼泛配府俊 敌促搁 磊侥 橇肺技胶甫 角青窍绰 荤侩磊俊霸 静扁鼻茄阑 林扁困秦 叼泛配府 鼻茄阑 函版窍瘤 <strong>付扼</strong>.</p> <p>胶农赋飘 肺弊绰 CGI 胶农赋飘甫 累己且锭 叼滚彪阑 困茄 侩档捞瘤 辑滚甫 角青窍绰 悼救 拌加 荤侩窍扁困窃捞 酒丛阑 林狼窍扼. 加档客 瓤啦己搁俊辑 弥利拳啊 救登乐绊, 汲拌茄 格利捞寇狼 规过栏肺 荤侩窍搁 焊救惑 巩力啊 瞪 荐 乐促.</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ScriptLogBuffer" id="ScriptLogBuffer">ScriptLogBuffer</a> <a name="scriptlogbuffer" id="scriptlogbuffer">瘤矫绢</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">汲疙:</a></th><td>胶农赋飘 肺弊俊 扁废且 PUT 趣篮 POST 夸没狼 弥措樊</td></tr><tr><th><a href="directive-dict.html#Syntax">巩过:</a></th><td><code>ScriptLogBuffer <var>bytes</var></code></td></tr><tr><th><a href="directive-dict.html#Default">扁夯蔼:</a></th><td><code>ScriptLogBuffer 1024</code></td></tr><tr><th><a href="directive-dict.html#Context">荤侩厘家:</a></th><td>林辑滚汲沥, 啊惑龋胶飘</td></tr><tr><th><a href="directive-dict.html#Status">惑怕:</a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">葛碘:</a></th><td><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code>, <code class="module"><a href="../mod/mod_cgid.html">mod_cgid</a></code></td></tr></table> <p>奴 郴侩阑 罐酒辑 肺弊颇老捞 呈公 弧府 目瘤绰 泅惑阑 阜扁困秦 颇老俊 扁废且 PUT 趣篮 POST 郴侩狼 农扁甫 力茄茄促. 扁夯利栏肺 1024 官捞飘鳖瘤 肺弊俊 扁废窍瘤父, 捞 瘤矫绢甫 荤侩窍咯 荐沥且 荐 乐促.</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ScriptLogLength" id="ScriptLogLength">ScriptLogLength</a> <a name="scriptloglength" id="scriptloglength">瘤矫绢</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">汲疙:</a></th><td>CGI 胶农赋飘 肺弊颇老狼 农扁 力茄</td></tr><tr><th><a href="directive-dict.html#Syntax">巩过:</a></th><td><code>ScriptLogLength <var>bytes</var></code></td></tr><tr><th><a href="directive-dict.html#Default">扁夯蔼:</a></th><td><code>ScriptLogLength 10385760</code></td></tr><tr><th><a href="directive-dict.html#Context">荤侩厘家:</a></th><td>林辑滚汲沥, 啊惑龋胶飘</td></tr><tr><th><a href="directive-dict.html#Status">惑怕:</a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">葛碘:</a></th><td><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code>, <code class="module"><a href="../mod/mod_cgid.html">mod_cgid</a></code></td></tr></table> <p><code class="directive">ScriptLogLength</code>绰 CGI 胶农赋飘 肺弊颇老狼 农扁甫 力茄茄促. CGI 坷幅啊 惯积且锭付促 (葛电 夸没 庆歹, 葛电 胶农赋飘 免仿 殿) 腹篮 沥焊啊 肺弊俊 扁废登扁锭巩俊 颇老捞 概快 目龙 荐 乐促. 颇老捞 公茄洒 目瘤绰 巩力甫 阜扁困秦 捞 瘤矫绢甫 荤侩窍咯 CGI 肺弊颇老狼 弥措 颇老农扁甫 汲沥茄促. 颇老狼 农扁啊 汲沥茄 蔼阑 逞栏搁 歹 捞惑 沥焊甫 扁废窍瘤臼绰促.</p></div></div><div class="bottomlang"><p><span>啊瓷茄 攫绢: </span><a href="../en/mod/mod_cgi.html" hreflang="en" rel="alternate" title="English"> en </a> |<a href="../ja/mod/mod_cgi.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |<a href="../ko/mod/mod_cgi.html" title="Korean"> ko </a></p></div><div id="footer"><p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p><p class="menu"><a href="../mod/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -