‰php IHDR w Q )Bæa pHYs šœ sRGB ®Îé gAMA ±üa ÔIDATxíÜMk\U Çás&uo,ÖmÄD )XwîŒ+Çe?‰ºtw.“oàWpå§;—³°QHZnw¢`gaiJ’9Þˆ‰ÑÒÌŸç™û¾ýÍaî=·nlŽ[ ʨ G܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î ú¸·y H†¯@E7jÍ 1j+OF¥–€‹Rg}Ü«‘;@’E™Öa¹±ùáÓ~ ÿj`Ùuû'ož> ÙjÝ- $˜_§q?¾q¸S XzG'åóay
files >> /opt/lampp/manual/mod/ |
files >> //opt/lampp/manual/mod/mod_cgi.html.ja.utf8 |
<?xml version="1.0" encoding="UTF-8"?> <!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="ja" xml:lang="ja"><head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>mod_cgi - Apache HTTP サームãƒãƒ¼ã‚¸ãƒ§ãƒ³ 2.4</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 rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> <script src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <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="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p> <p class="apache">Apache HTTP サームãƒãƒ¼ã‚¸ãƒ§ãƒ³ 2.4</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 サーãƒ</a> > <a href="http://httpd.apache.org/docs/">ドã‚ュメンテーション</a> > <a href="../">ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 2.4</a> > <a href="./">モジュール</a></div> <div id="page-content"> <div id="preamble"><h1>Apache モジュール 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="../fr/mod/mod_cgi.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../ja/mod/mod_cgi.html" title="Japanese"> ja </a> | <a href="../ko/mod/mod_cgi.html" hreflang="ko" rel="alternate" 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>ãƒãƒ³ãƒ‰ãƒ© <code>cgi-script</code> ãŒæŒ‡å®šã•れã¦ã„るファイル㯠CGI スクリプトã¨ã—ã¦æ‰±ã‚れ〠サーãƒã«ã‚ˆã‚Šå®Ÿè¡Œã•れã€ãã®å‡ºåŠ›ãŒã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã«è¿”ã•れã¾ã™ã€‚ ファイルã¯ã€<code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code> ãƒ‡ã‚£ãƒ¬ã‚¯ãƒ†ã‚£ãƒ–ã«æŒ‡å®šã•れ㟠拡張åã‚’åå‰ã«å«ã‚€ã‹ã€ <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code> ディレクトリã«å˜åœ¨ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã“ã®ãƒãƒ³ãƒ‰ãƒ©ã«ãªã‚Šã¾ã™ã€‚</p> <p>Apache ã§ CGI スクリプトを使用ã™ã‚‹ãŸã‚ã®ã‚¤ãƒ³ãƒˆãƒãƒ€ã‚¯ã‚·ãƒ§ãƒ³ã¯ã€ <a href="../howto/cgi.html">CGI ã«ã‚ˆã‚‹å‹•的コンテンツ</a> ã‚’å‚ç…§ã—ã¦ãã ã•ã„。</p> <p>Unix ã§ãƒžãƒ«ãƒã‚¹ãƒ¬ãƒƒãƒ‰ã® MPM を使ã£ã¦ã„ã‚‹å ´åˆã¯ã€ã“ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã® 代ã‚り㫠<code class="module"><a href="../mod/mod_cgid.html">mod_cgid</a></code> を使ã†å¿…è¦ãŒã‚りã¾ã™ã€‚ ユーザレベルã§ã¯ã“ã®äºŒã¤ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã¯æœ¬è³ªçš„ã«ã¯åŒä¸€ã§ã™ã€‚</p> <p>å¾Œæ–¹äº’æ›æ€§ã®ãŸã‚〠MIME タイプ㌠<code>application/x-httpd-cgi</code> ã§ã‚るファイルã§ã‚‚ cgi-script ãƒãƒ³ãƒ‰ãƒ©ãŒæœ‰åйã«ãªã‚Šã¾ã™ã€‚ã“ã®ç‰¹æ®Šãª MIME タイプを ä½¿ã†æ–¹æ³•ã¯éžæŽ¨å¥¨ã§ã™ã€‚</p> </div> <div id="quickview"><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 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 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> ExecCGI</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">CGI プãƒã‚°ãƒ©ãƒ を別ã®ãƒ¦ãƒ¼ã‚¶ ID ã§å®Ÿè¡Œã™ã‚‹</a></li> <li><a href="http://www.ietf.org/rfc/rfc3875">CGI è¦æ ¼æ›¸</a></li> </ul><ul class="seealso"><li><a href="#comments_section">コメント</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://www.ietf.org/rfc/rfc3875">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> ㌠指定ã•れã¦ã„ãªã„ã¨ãã®æŒ¯ã‚‹èˆžã„ã§ã¯ã€<code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code> ã¯ãƒ‘ã‚¹æƒ…å ± (URI ã®ã‚¹ã‚¯ãƒªãƒ—トã®ãƒ•ァイルåã®å¾Œã«ç¶šã <code>/more/path/info</code>) ã‚’ å—ã‘付ã‘ã¾ã™ãŒã€ã‚³ã‚¢ã¯ã‚µãƒ¼ãƒã¯ãƒ‘ã‚¹æƒ…å ±ã®ã‚るリクエスト㫠対ã—㦠404 NOT FOUND エラーを返ã—ã¾ã™ã€‚<code class="directive">AcceptPathInfo</code> ディレクティブを çœç•¥ã™ã‚‹ã¨ã€<code class="module"><a href="../mod/mod_cgi.html">mod_cgi</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/mod_ident.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 スクリプトã®ãƒ‡ãƒãƒƒã‚°ã¯ã€æ£ã—ã動作ã—ã¦ã„ãªã„スクリプトã®å‡ºåŠ› (標準出力ã¨ã‚¨ãƒ©ãƒ¼) を調ã¹ã‚‹ã“ã¨ãŒã§ããªã„ãŸã‚ã«ã€é›£ã—ã„状態ãŒç¶šã„ã¦ã„ã¾ã—ãŸã€‚ ã“れらã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒ†ã‚£ãƒ–ã¯ã‚ˆã‚Šè©³ç´°ãªã‚¨ãƒ©ãƒ¼ã®ãƒã‚°åŽé›†ã‚’æä¾›ã—ã¾ã™ã€‚</p> <h3>CGI ãƒã‚°ãƒ•ã‚¡ã‚¤ãƒ«ã®æ›¸å¼</h3> <p>è¨å®šã•れã¦ã„ã‚‹ã¨ãã«ã¯ã€CGI エラーãƒã‚°ã¯é©åˆ‡ã«å‹•作ã—ãªã„ã™ã¹ã¦ã® CGI ã‚’ãƒã‚°åŽé›†ã—ã¾ã™ã€‚ãれãžã‚Œã®æ£ã—ã動作ã—ãªã„ CGI スクリプト㯠複数ã®è¡Œã«ã‚ãŸã‚‹æƒ…å ±ãŒãƒã‚°åŽé›†ã•れã¾ã™ã€‚最åˆã® 2 行ã¯å¸¸ã«ä»¥ä¸‹ã®æ›¸å¼ã§ã™:</p> <div class="example"><p><code> %% [<var>time</var>] <var>request-line</var><br /> %% <var>HTTP-status</var> <var>CGI-script-filename</var> </code></p></div> <p>エラーãŒã€CGI スクリプトãŒå®Ÿè¡Œã§ããªã„ã¨ã„ã†ã‚‚ã®ã§ã‚ã‚‹å ´åˆã¯ã€ ãƒã‚°ãƒ•ァイルã¯ã•らã«ã‚‚ㆠ2 行書ã‹ã‚Œã¾ã™:</p> <div class="example"><p><code> %%error<br /> <var>error-message</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><pre class="prettyprint lang-config">ScriptLog logs/cgi_log</pre> </div> <p>ã“ã®ãƒã‚°ã¯åプãƒã‚»ã‚¹ãŒå®Ÿè¡Œã•れã¦ã„るユーザã¨ã—ã¦ã‚ªãƒ¼ãƒ—ンã•れã¾ã™ã€‚ <em>ã™ãªã‚ã¡</em>ã€<code class="directive"><a href="../mod/mod_unixd.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 <em>bytes</em></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="../fr/mod/mod_cgi.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../ja/mod/mod_cgi.html" title="Japanese"> ja </a> | <a href="../ko/mod/mod_cgi.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">コメント</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_cgi.html'; (function(w, d) { if (w.location.hostname.toLowerCase() == "httpd.apache.org") { d.write('<div id="comments_thread"><\/div>'); var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); } else { d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); } })(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2015 The Apache Software Foundation.<br />ã“ã®æ–‡æ›¸ã¯ <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="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> </body></html>ß yôÊá½~ŒorÀ5ÖJ™={þÁEÇêe¾uç£Qk ®•ᯘG{÷?ù»ã+—]üôçƒÉÍ×ןô?wûM3X^¶ÚæŒ>{´7Ù¾ì´Kã>èo²ÎnÝ\ÿªÊj¿y· ðR£õãg/î=ÞÿfúOçÖr·o×NVÊv¿ú~ÿY+ ü¿NGêu÷ø·Ã®›þë¹HWŠûyëwÆ[eQ¶Ê¨¾SÚbÖ>öÍËÇ þ³>ä}Gçmx[o[<ÞÚ{ðýŸÏ®_ÅïqF–ÚÛvM IEND®B`‚