diff options
author | Jeon Jeongho <maczniak@apache.org> | 2004-07-09 15:20:16 +0200 |
---|---|---|
committer | Jeon Jeongho <maczniak@apache.org> | 2004-07-09 15:20:16 +0200 |
commit | 0755c9714d32c38e5a10d800e304c0dffc1a920b (patch) | |
tree | 99be7e9288e8eeb0ca4b1fbf763de45e0fc87416 /docs/manual/mod/mod_file_cache.html.ko.euc-kr | |
parent | add PR numbers (diff) | |
download | apache2-0755c9714d32c38e5a10d800e304c0dffc1a920b.tar.xz apache2-0755c9714d32c38e5a10d800e304c0dffc1a920b.zip |
commit a few Korean files and up-to-date patches
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104203 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_file_cache.html.ko.euc-kr')
-rw-r--r-- | docs/manual/mod/mod_file_cache.html.ko.euc-kr | 197 |
1 files changed, 95 insertions, 102 deletions
diff --git a/docs/manual/mod/mod_file_cache.html.ko.euc-kr b/docs/manual/mod/mod_file_cache.html.ko.euc-kr index 4bb6dbdeb3..7f21e60691 100644 --- a/docs/manual/mod/mod_file_cache.html.ko.euc-kr +++ b/docs/manual/mod/mod_file_cache.html.ko.euc-kr @@ -33,24 +33,27 @@ <div class="warning"> ÀÌ ¸ðµâÀº Á¶½ÉÇؼ »ç¿ëÇØ¾ß ÇÑ´Ù. <code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>¸¦ -»ç¿ëÇÏ¿© »çÀÌÆ®¸¦ ¸ÁÄ¡±â ½¬¿ì¹Ç·Î ÀÌ ¹®Á¦¸¦ ²Ä²ÄÈ÷ Àоî¶ó. + »ç¿ëÇÏ¿© »çÀÌÆ®¸¦ ¾û¸ÁÀ¸·Î ¸¸µé±â ½±±â¶§¹®¿¡ ÀÌ ¹®¼¸¦ + ²Ä²ÄÈ÷ ÀÐ±æ ¹Ù¶õ´Ù. </div> - <p>°ÅÀÇ º¯ÇÏÁö ¾Ê°í ÀÚÁÖ ¿äûµÇ´Â ÆÄÀÏÀ» <em>ij½¬</em>¿¡ ÀúÀåÇÏ¿© -¼¹ö ºÎÇϸ¦ ÁÙÀÏ ¼ö ÀÖ´Ù. <code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>´Â -µÎ°¡Áö ¹æ½ÄÀ¸·Î ÀÚÁÖ ¿äûµÇ´Â <em>Á¤Àû</em> ÆÄÀÏÀ» ij½¬¿¡ ÀúÀåÇÑ´Ù. -¼³Á¤ Áö½Ã¾î¸¦ ÅëÇØ <code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>°¡ ÆÄÀÏÀ» -¿°í(open) <code>mmap()</code>ÇÒÁö ÆÄÀÏÀ» ¹Ì¸® ¿°í -<em>ÆÄÀÏ Çڵ鷯</em>¸¦ ÀúÀåÇÒÁö °áÁ¤ÇÑ´Ù. µÎ ¹æ½Ä ¸ðµÎ -ÆÄÀÏÀ» ¼ºñ½ºÇϱâÀ§ÇÑ ÀÛ¾÷ÀÇ ÀϺθ¦ ((ƯÈ÷ ÆÄÀÏ ÀÔÃâ·Â) ÆÄÀÏ ¿äû¶§¸¶´Ù -ÇÏ´Â ´ë½Å ¼¹ö°¡ ½ÃÀÛÇÒ¶§ ÇÏ¿© ¼¹ö ºÎÇϸ¦ °¨¼ÒÇÑ´Ù.</p> - - <p>ÁÖÀÇ: ÀÌ ¹æ¹ýÀº CGI ÇÁ·Î±×·¥À̳ª Ưº°ÇÑ ³»¿ëÇڵ鷯¸¦ ÅëÇØ ¼ºñ½ºÇÏ´Â -ÆÄÀÏÀÇ ¼Óµµ¸¦ Çâ»óÇÒ ¼ö ¾ø´Ù. ÀÌ ¹æ¹ýÀº º¸Åë ¾ÆÆÄÄ¡ core ³»¿ëÇڵ鷯°¡ -¼ºñ½ºÇÏ´Â ÀϹÝÆÄÀÏ¿¡¸¸ Àû¿ëµÈ´Ù.</p> - - <p>ÀÌ ¸ðµâÀº ¾ÆÆÄÄ¡ 1.3ÀÇ <code>mod_mmap_static</code> ¸ðµâÀÇ -¿µÇâÀ» ¸¹ÀÌ ¹ÞÀº È®ÀåÀÌ´Ù.</p> + <p>°ÅÀÇ º¯ÇÏÁö ¾Ê°í ÀÚÁÖ ¿äûµÇ´Â ÆÄÀÏÀ» <em>ij½¬</em>¿¡ + ÀúÀåÇÏ¿© ¼¹ö ºÎÇϸ¦ ÁÙÀÏ ¼ö ÀÖ´Ù. <code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>´Â + ÀÚÁÖ ¿äûµÇ´Â <em>Á¤Àû</em> ÆÄÀÏÀ» µÎ°¡Áö ¹æ½ÄÀ¸·Î ij½¬¿¡ + ÀúÀåÇÑ´Ù. ¼³Á¤ Áö½Ã¾î¸¦ »ç¿ëÇÏ¿© <code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>°¡ + ÆÄÀÏÀ» ¿°í(open) <code>mmap()</code>ÇÒÁö ¾Æ´Ï¸é ÆÄÀÏÀ» + ¿°í <em>ÆÄÀÏ ÇÚµé</em>À» ÀúÀåÇÒÁö °áÁ¤ÇÑ´Ù. µÎ ¹æ½Ä ¸ðµÎ + ÆÄÀÏÀ» ¼ºñ½ºÇϱâÀ§ÇØ ÇÊ¿äÇÑ ÀÛ¾÷ÀÇ ÀϺθ¦ (ƯÈ÷ ÆÄÀÏ ÀÔÃâ·Â + ÀÛ¾÷) ÆÄÀÏÀ» ¿äûÇÒ ¶§¸¶´Ù ¸Å¹ø ÇÏ´Â ´ë½Å ¼¹ö°¡ ½ÃÀÛÇÒ¶§ + Çѹø¸¸ ÇÏ¿© ¼¹ö ºÎÇÏ°¡ °¨¼ÒÇÑ´Ù.</p> + + <p>ÁÖÀÇ: ÀÌ ¹æ¹ýÀº CGI ÇÁ·Î±×·¥À̳ª Ưº°ÇÑ ³»¿ëÇڵ鷯¸¦ + ÅëÇØ ¼ºñ½ºÇÏ´Â ÆÄÀÏÀÇ ¼ºñ½º ¼Óµµ¸¦ ³ôÀÏ ¼ö ¾ø´Ù. ÀÌ ¹æ¹ýÀº + º¸Åë ¾ÆÆÄÄ¡ core ³»¿ëÇڵ鷯°¡ ¼ºñ½ºÇÏ´Â ÀϹÝÆÄÀÏ¿¡¸¸ + Àû¿ëµÈ´Ù.</p> + + <p>ÀÌ ¸ðµâÀº ¾ÆÆÄÄ¡ 1.3¿¡ ÀÖ´Â <code>mod_mmap_static</code> + ¸ðµâÀÇ ±â´ÉÀ» È®ÀåÇÑ °á°ú´Ù.</p> </div> <div id="quickview"><h3 class="directives">Áö½Ã¾îµé</h3> <ul id="toc"> @@ -65,71 +68,64 @@ <div class="section"> <h2><a name="using" id="using">mod_file_cache »ç¿ëÇϱâ</a></h2> - <p><code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>´Â ÁÖ¼¹ö ¼³Á¤¿¡¼ -<code class="directive"><a href="#mmapfile">MMapFile</a></code>°ú <code class="directive"><a href="#cachefile">CacheFile</a></code> Áö½Ã¾î¸¦ ÅëÇØ ¼³Á¤ÇÑ Á¤Àû ÆÄÀϵéÀ» -ij½¬¿¡ ÀúÀåÇÑ´Ù.</p> + <p><code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>´Â ÁÖ¼¹ö ¼³Á¤¿¡¼ <code class="directive"><a href="#mmapfile">MMapFile</a></code>°ú <code class="directive"><a href="#cachefile">CacheFile</a></code> Áö½Ã¾î¸¦ »ç¿ëÇÏ¿© + ¼³Á¤ÇÑ Á¤Àû ÆÄÀϵéÀ» ij½¬¿¡ ÀúÀåÇÑ´Ù.</p> <p>¸ðµç Ç÷¡ÆûÀÌ µÎ Áö½Ã¾î¸¦ ¸ðµÎ Áö¿øÇÏ´Â °ÍÀº ¾Æ´Ï´Ù. -¿¹¸¦ µé¾î, À©µµ¿ìÁî¿ë ¾ÆÆÄÄ¡´Â ÇöÀç <code class="directive"><a href="#mmapstatic">MMapStatic</a></code> Áö½Ã¾î¸¦ -Áö¿øÇÏÁö ¾ÊÁö¸¸, AIX °°Àº ´Ù¸¥ Ç÷¡ÆûÀº µÑ ¸ðµÎ Áö¿øÇÑ´Ù. -Áö¿øÇÏÁö¾Ê´Â Áö½Ã¾î¸¦ »ç¿ëÇÒ °æ¿ì ¼¹ö ¿À·ù ·Î±×¿¡ ¿À·ù¹®À» -³²±ä´Ù. Áö¿øÇÏÁö¾Ê´Â Áö½Ã¾î¸¦ »ç¿ëÇصµ ¼¹ö´Â ½ÃÀÛÇÏÁö¸¸ -ÆÄÀÏÀ» ij½¬¿¡ ÀúÀåÇÏÁö ¾Ê´Â´Ù. µÎ Áö½Ã¾î¸¦ ¸ðµÎ Áö¿øÇÏ´Â Ç÷¡ÆûÀ» -»ç¿ëÇÑ´Ù¸é ¾î¶² ¹æ½ÄÀÌ ´õ ÁÁÀºÁö ½ÇÇèÇغ¼ ¼ö ÀÖ´Ù.</p> + ¿¹¸¦ µé¾î, À©µµ¿ìÁî¿ë ¾ÆÆÄÄ¡´Â ÇöÀç <code class="directive"><a href="#mmapstatic">MMapStatic</a></code> Áö½Ã¾î¸¦ + Áö¿øÇÏÁö ¾ÊÁö¸¸, AIX °°Àº ´Ù¸¥ Ç÷¡ÆûÀº µÑ ¸ðµÎ¸¦ Áö¿øÇÑ´Ù. + Áö¿øÇÏÁö¾Ê´Â Áö½Ã¾î¸¦ »ç¿ëÇÒ °æ¿ì ¼¹ö ¿À·ù ·Î±×¿¡ ¿À·ù¹®À» + ³²±ä´Ù. Áö¿øÇÏÁö¾Ê´Â Áö½Ã¾î¸¦ »ç¿ëÇصµ ¼¹ö´Â µ¿ÀÛÇÏÁö¸¸ + ÆÄÀÏÀ» ij½¬¿¡ ÀúÀåÇÏÁö ¾Ê´Â´Ù. µÎ Áö½Ã¾î¸¦ ¸ðµÎ Áö¿øÇÏ´Â + Ç÷¡ÆûÀ» »ç¿ëÇÑ´Ù¸é ¾î¶² ¹æ½ÄÀÌ ´õ ÁÁÀºÁö ½ÇÇèÇغ¸¶ó.</p> <h3>MMapFile Áö½Ã¾î</h3> - <p><code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>ÀÇ -<code class="directive"><a href="#mmapfile">MMapFile</a></code> Áö½Ã¾î´Â -¼³Á¤ÇÑ Á¤ÀûÀÎ ÆÄÀϵéÀ» <code>mmap()</code> ½Ã½ºÅÛÈ£ÃâÀ» »ç¿ëÇÏ¿© -¸Þ¸ð¸®¿¡ ´ëÀÀÇÑ´Ù. ¸¹Àº ÃÖ±Ù À¯´Ð½º·ù ¿î¿µÃ¼Á¦¿¡ ÀÌ ½Ã½ºÅÛÈ£ÃâÀÌ -ÀÖÁö¸¸, ¾ø´Â ¿î¿µÃ¼Á¦µµ ÀÖ´Ù. ¶Ç, <code>mmap()</code>ÇÒ ¼ö ÀÖ´Â -ÆÄÀÏ Å©±â¿Í °³¼ö¸¦ ½Ã½ºÅÛÀÌ Á¦ÇÑÇÒ ¼ö ÀÖÀ¸¹Ç·Î ½ÇÇèÇغ¸´Â °ÍÀÌ -ÁÁ´Ù.</p> - - <p>¼¹ö°¡ ½ÃÀÛÇÒ¶§¿Í Àç½ÃÀÛÇÒ¶§¸¸ <code>mmap()</code>À» -ÇÑ´Ù. ±×·¡¼ ÆÄÀϽýºÅÛ¿¡¼ ÇØ´ç ÆÄÀÏÁß Çϳª¶óµµ º¯°æµÈ °æ¿ì -¼¹ö¸¦ Àç½ÃÀÛ<em>Çؾß</em> ÇÑ´Ù (<a href="../stopping.html">Stopping and Restarting</a> ¹®¼ Âü°í). -´Ù½Ã °Á¶Çϸé: ¼¹ö¸¦ Àç½ÃÀÛÇÏÁö¾Ê°í ÆÄÀÏÀ» ¼öÁ¤Çϸé -¿äû ¼ºñ½º°¡ ¿ÏÀüÈ÷ ÀÌ»óÇÒ ¼ö ÀÖ´Ù. ÀÌÀü ÆÄÀÏÀ» Áö¿ì°í(unlink) -»õ·Î ÆÄÀÏÀ» ¸¸µé¾î¼ ÆÄÀÏÀ» ¼öÁ¤ÇØ¾ß ÇÑ´Ù. <code>rdist</code>³ª -<code>mv</code>¿Í °°ÀÌ ¸¹Àº µµ±¸°¡ ÀÌ·± ½ÄÀ¸·Î µ¿ÀÛÇÑ´Ù. -¸Å¹ø Ãß°¡·Î ºÒÇÊ¿äÇÑ <code>stat()</code> °Ë»ç°¡ ÇÊ¿äÇÏ°í -ÀÔÃâ·Â °¨¼ÒÀÇ Àǵµ¿¡ ¹ÝÇϹǷΠÀÌ ¸ðµâÀº ÆÄÀÏ º¯È¸¦ ½Å°æ¾²Áö¾Ê´Â´Ù.</p> + <p><code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>ÀÇ <code class="directive"><a href="#mmapfile">MMapFile</a></code> Áö½Ã¾î´Â + ¼³Á¤ÇÑ Á¤Àû ÆÄÀϵéÀ» <code>mmap()</code> ½Ã½ºÅÛÈ£ÃâÀ» + »ç¿ëÇÏ¿© ¸Þ¸ð¸®¿¡ ´ëÀÀÇÑ´Ù. ÃֽŠÀ¯´Ð½º·ù ¿î¿µÃ¼Á¦¶ó¸é + º¸Åë ÀÌ ½Ã½ºÅÛÈ£ÃâÀÌ ÀÖÁö¸¸, ¾ø´Â ¿î¿µÃ¼Á¦µµ ÀÖ´Ù. ¶Ç, + <code>mmap()</code>ÇÒ ¼ö ÀÖ´Â ÆÄÀÏ Å©±â¿Í °³¼ö¸¦ ½Ã½ºÅÛÀÌ + Á¦ÇÑÇÒ ¼ö ÀÖÀ¸¹Ç·Î ¹Ì¸® ½ÇÇèÇغ¸´Â °ÍÀÌ ÁÁ´Ù.</p> + + <p>¼¹ö´Â ½ÃÀÛÇÒ¶§¿Í Àç½ÃÀÛÇÒ¶§¸¸ <code>mmap()</code>ÇÑ´Ù. + ±×·¡¼ ÆÄÀϽýºÅÛ¿¡¼ ÇØ´ç ÆÄÀÏÁß Çϳª¶óµµ º¯°æµÇ¸é ¼¹ö¸¦ + Àç½ÃÀÛ<em>Çؾß</em> ÇÑ´Ù (<a href="../stopping.html">Áß´Ü°ú + Àç½ÃÀÛ</a> ¹®¼ Âü°í). ´Ù½Ã ¸»Çؼ ÆÄÀÏÀÌ º¯°æµÇ¾ú´Âµ¥ + ¼¹ö¸¦ Àç½ÃÀÛÇÏÁö ¾ÊÀ¸¸é ¿ÏÀüÈ÷ ÀÌ»óÇÏ°Ô ¿äûÀ» ¼ºñ½ºÇÒÁöµµ + ¸ð¸¥´Ù. ÀÌÀü ÆÄÀÏÀ» Áö¿ì°í(unlink) ±× ÀÚ¸®¿¡ »õ·Î¿î ÆÄÀÏÀ» + ¸¸µé´Â ¹æ½ÄÀ¸·Î ÆÄÀÏÀ» ¼öÁ¤ÇØ¾ß ÇÑ´Ù. <code>rdist</code>³ª + <code>mv</code>¿Í °°Àº ´ë´Ù¼öÀÇ µµ±¸°¡ ÀÌ·± ¹æ½ÄÀ¸·Î µ¿ÀÛÇÑ´Ù. + ¸Å¹ø Ãß°¡·Î ºÒÇÊ¿äÇÑ <code>stat()</code> °Ë»ç°¡ ÇÊ¿äÇÏ°í + ÀÔÃâ·Â °¨¼Ò¶ó´Â ¿ø·¡ Àǵµ¿¡ ¹ÝÇϱ⶧¹®¿¡ ÀÌ ¸ðµâÀº ÆÄÀÏÀÇ + º¯È¸¦ ¹«½ÃÇÑ´Ù.</p> <h3>CacheFile Áö½Ã¾î</h3> - <p><code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>ÀÇ -<code class="directive"><a href="#cachefile">CacheFile</a></code> Áö½Ã¾î´Â -¼³Á¤ Áö½Ã¾î¿¡ ¿°ÅÇÑ -ÆÄÀÏ(°ú ÆÄÀϵé)ÀÇ <em>ÇÚµé(handle)</em> ȤÀº -<em>ÆÄÀÏ ±â¼úÀÚ(file descriptor)</em>¸¦ ¿°í(open) ij½¬¿¡ ÀúÀåÇÑ´Ù. -ÆÄÀÏÀ» ¿äûÇÏ¸é ¼¹ö´Â ij½¬¿¡¼ ÇÚµéÀ» ã¾Æ¼ ¼ÒÄÏ API -<code>sendfile()</code>¿¡ (À©µµ¿ìÁî¿¡¼´Â <code>TransmitFile()</code>) -³Ñ±ä´Ù.</p> + <p><code class="module"><a href="../mod/mod_file_cache.html">mod_file_cache</a></code>ÀÇ <code class="directive"><a href="#cachefile">CacheFile</a></code> Áö½Ã¾î´Â + ¼³Á¤ Áö½Ã¾î¿¡ ¿°ÅÇÑ ÆÄÀÏ(°ú ÆÄÀϵé)À» ¿¾î¼ ÆÄÀÏÀÇ + <em>ÇÚµé(handle)</em> ȤÀº <em>ÆÄÀÏ ±â¼úÀÚ(file descriptor)</em>¸¦ + ij½¬¿¡ ÀúÀåÇÑ´Ù. ÆÄÀÏÀ» ¿äûÇÏ¸é ¼¹ö´Â ij½¬¿¡¼ ÇÚµéÀ» + ã¾Æ¼ ¼ÒÄÏ API <code>sendfile()</code>¿¡ (À©µµ¿ìÁî¿¡¼´Â + <code>TransmitFile()</code>) ³Ñ±ä´Ù.</p> - <p>¼¹ö°¡ ½ÃÀÛÇÒ¶§¿Í Àç½ÃÀÛÇÒ¶§¸¸ ÀÌ·± ÆÄÀÏÇÚµé ij½¬¸¦ -¸¸µç´Ù. ... -This file handle caching is done once at server start or - restart, only. So whenever one of the cached files changes on - the filesystem you <em>have</em> to restart the server (see the - <a href="../stopping.html">Stopping and Restarting</a> - documentation). To reiterate that point: if the files are - modified <em>in place</em> without restarting the server you - may end up serving requests that are completely bogus. You - should update files by unlinking the old copy and putting a new - copy in place. Most tools such as <code>rdist</code> and - <code>mv</code> do this.</p> + <p>¼¹ö´Â ½ÃÀÛÇÒ¶§¿Í Àç½ÃÀÛÇÒ¶§¸¸ ÆÄÀÏ ÇÚµéÀ» ij½¬ÇÑ´Ù. + ±×·¡¼ ÆÄÀϽýºÅÛ¿¡¼ ij½¬ÇÑ ÆÄÀÏÁß Çϳª¶óµµ º¯°æµÇ¸é + ¼¹ö¸¦ Àç½ÃÀÛ<em>Çؾß</em> ÇÑ´Ù (<a href="../stopping.html">Áß´Ü°ú Àç½ÃÀÛ</a> ¹®¼ Âü°í). + ´Ù½Ã ¸»Çؼ ÆÄÀÏÀÌ º¯°æµÇ¾ú´Âµ¥ ¼¹ö¸¦ Àç½ÃÀÛÇÏÁö ¾ÊÀ¸¸é + ¿ÏÀüÈ÷ ÀÌ»óÇÏ°Ô ¿äûÀ» ¼ºñ½ºÇÒÁöµµ ¸ð¸¥´Ù. ÀÌÀü ÆÄÀÏÀ» + Áö¿ì°í(unlink) ±× ÀÚ¸®¿¡ »õ·Î¿î ÆÄÀÏÀ» ¸¸µå´Â ¹æ½ÄÀ¸·Î + ÆÄÀÏÀ» ¼öÁ¤ÇØ¾ß ÇÑ´Ù. <code>rdist</code>³ª <code>mv</code>¿Í + °°Àº ´ë´Ù¼öÀÇ µµ±¸°¡ ÀÌ·± ¹æ½ÄÀ¸·Î µ¿ÀÛÇÑ´Ù.</p> <div class="note"><h3>ÁÖÀÇ</h3> - <p>µð·ºÅ丮ÀÇ ¸ðµç ÆÄÀÏÀ» Àç±ÍÀûÀ¸·Î ij½¬¿¡ ÀúÀåÇÏ´Â -Áö½Ã¾î¸¦ ¿ä±¸ÇÏÁö ¸¶¶ó. ´ë½Å ÀÌ·¸°Ô ÇغÁ¶ó... -<code class="directive"><a href="../mod/core.html#include">Include</a></code> Áö½Ã¾î¸¦ Âü°íÇÏ°í -´ÙÀ½°ú °°Àº ¸í·ÉÀ» ½ÇÇàÇ϶ó:</p> + <p>µð·ºÅ丮ÀÇ ¸ðµç ÆÄÀÏÀ» Àç±ÍÀûÀ¸·Î ij½¬¿¡ ÀúÀåÇÏ´Â Áö½Ã¾î´Â + ¾ø´Ù. ´ë½Å ´ÙÀ½°ú °°ÀÌ Çغ¸¶ó... <code class="directive"><a href="../mod/core.html#include">Include</a></code> Áö½Ã¾î¸¦ Âü°íÇÏ¿© ´ÙÀ½°ú + °°Àº ¸í·É¾î¸¦ ½ÇÇàÇÑ´Ù:</p> <div class="example"><p><code> find /www/htdocs -type f -print \<br /> @@ -140,29 +136,27 @@ This file handle caching is done once at server start or <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="CacheFile" id="CacheFile">CacheFile</a> <a name="cachefile" id="cachefile">Áö½Ã¾î</a></h2> <table class="directive"> -<tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>Cache a list of file handles at startup time</td></tr> +<tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>½ÃÀ۽à ¿©·¯ ÆÄÀÏ ÇÚµéÀ» ij½¬ÇÑ´Ù</td></tr> <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code>CacheFile <var>file-path</var> [<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>Experimental</td></tr> <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_file_cache</td></tr> </table> - <p>The <code class="directive">CacheFile</code> directive opens handles to - one or more files (given as whitespace separated arguments) and - places these handles into the cache at server startup - time. Handles to cached files are automatically closed on a server - shutdown. When the files have changed on the filesystem, the - server should be restarted to to re-cache them.</p> - - <p>Be careful with the <var>file-path</var> arguments: They have - to literally match the filesystem path Apache's URL-to-filename - translation handlers create. We cannot compare inodes or other - stuff to match paths through symbolic links <em>etc.</em> - because that again would cost extra <code>stat()</code> system - calls which is not acceptable. This module may or may not work - with filenames rewritten by <code class="module"><a href="../mod/mod_alias.html">mod_alias</a></code> or - <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>.</p> - - <div class="example"><h3>Example</h3><p><code> + <p><code class="directive">CacheFile</code> Áö½Ã¾î´Â ¼¹ö°¡ ½ÃÀÛÇÒ¶§ + ¿©·¯ ÆÄÀÏÀ» ¿°í(open) ÆÄÀϵéÀÇ ÇÚµéÀ» ij½¬¿¡ ÀúÀåÇÑ´Ù. + ¼¹ö Á¾·á½Ã ÀÚµ¿À¸·Î ij½¬ÇÑ ÆÄÀÏÀÇ ÇÚµéÀ» ´Ý´Â´Ù(close). + ÆÄÀϽýºÅÛ¿¡¼ ÆÄÀÏÀÌ º¯°æµÇ¸é ÆÄÀÏÀ» ´Ù½Ã ij½¬ÇϱâÀ§ÇØ + ¼¹ö¸¦ Àç½ÃÀÛÇØ¾ß ÇÑ´Ù.</p> + + <p><var>file-path</var> ¾Æ±Ô¸ÕÆ®¸¦ Á¶½ÉÇضó. ¾Æ±Ô¸ÕÆ®´Â + ¾ÆÆÄÄ¡ÀÇ URL-ÆÄÀÏ¸í º¯È¯ Çڵ鷯°¡ ¸¸µç ÆÄÀϽýºÅÛ °æ·Î¿Í + Á¤È®È÷ ÀÏÄ¡ÇØ¾ß ÇÑ´Ù. Çѹø ´õ ºÒÇÊ¿äÇÑ <code>stat()</code> + ½Ã½ºÅÛÈ£ÃâÀÌ ÇÊ¿äÇϱ⶧¹®¿¡ inode³ª ½Éº¼¸µÅ© <em>µî</em>À» + °æ·Î¸¦ ÁöÁ¤ÇÒ ¼ö ¾ø´Ù. ÀÌ ¸ðµâÀº <code class="module"><a href="../mod/mod_alias.html">mod_alias</a></code>³ª + <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>·Î ÀçÀÛ¼ºÇÑ ÆÄÀϸíÀ» ´Ù·ê ¼ö + Àֱ⵵ ¾ø±âµµ ÇÏ´Ù.</p> + + <div class="example"><h3>¿¹Á¦</h3><p><code> CacheFile /usr/local/apache/htdocs/index.html </code></p></div> @@ -170,29 +164,28 @@ This file handle caching is done once at server start or <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="MMapFile" id="MMapFile">MMapFile</a> <a name="mmapfile" id="mmapfile">Áö½Ã¾î</a></h2> <table class="directive"> -<tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>Map a list of files into memory at startup time</td></tr> +<tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>½ÃÀ۽à ¿©·¯ ÆÄÀÏÀ» ¸Þ¸ð¸®¿¡ ´ëÀÀÇÑ´Ù</td></tr> <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code>MMapFile <var>file-path</var> [<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>Experimental</td></tr> <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_file_cache</td></tr> </table> - <p>The <code class="directive">MMapFile</code> directive maps one or more files - (given as whitespace separated arguments) into memory at server - startup time. They are automatically unmapped on a server - shutdown. When the files have changed on the filesystem at - least a <code>HUP</code> or <code>USR1</code> signal should be send to - the server to re-<code>mmap()</code> them.</p> - - <p>Be careful with the <var>file-path</var> arguments: They have - to literally match the filesystem path Apache's URL-to-filename - translation handlers create. We cannot compare inodes or other - stuff to match paths through symbolic links <em>etc.</em> - because that again would cost extra <code>stat()</code> system - calls which is not acceptable. This module may or may not work - with filenames rewritten by <code class="module"><a href="../mod/mod_alias.html">mod_alias</a></code> or - <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>.</p> - - <div class="example"><h3>Example</h3><p><code> + <p><code class="directive">MMapFile</code> Áö½Ã¾î´Â ¼¹ö°¡ ½ÃÀÛÇÒ¶§ + (°ø¹éÀ¸·Î ±¸ºÐÇÑ ¾Æ±Ô¸ÕÆ®·Î ÁöÁ¤ÇÑ) ¿©·¯ ÆÄÀÏÀ» ¸Þ¸ð¸®¿¡ + ´ëÀÀÇÑ´Ù(map). ¼¹ö Á¾·á½Ã ÀÚµ¿À¸·Î ´ëÀÀÀ» Ǭ´Ù(unmap). + ÆÄÀϽýºÅÛ¿¡¼ ÆÄÀÏÀÌ º¯°æµÇ¸é ÆÄÀϵéÀ» ´Ù½Ã + <code>mmap()</code>ÇϱâÀ§ÇØ ÃÖ¼ÒÇÑ ¼¹ö¿¡ <code>HUP</code>À̳ª + <code>USR1</code> ½Ã±×³ÎÀ» º¸³»¾ß ÇÑ´Ù.</p> + + <p><var>file-path</var> ¾Æ±Ô¸ÕÆ®¸¦ Á¶½ÉÇضó. ¾Æ±Ô¸ÕÆ®´Â + ¾ÆÆÄÄ¡ÀÇ URL-ÆÄÀÏ¸í º¯È¯ Çڵ鷯°¡ ¸¸µç ÆÄÀϽýºÅÛ °æ·Î¿Í + Á¤È®È÷ ÀÏÄ¡ÇØ¾ß ÇÑ´Ù. Çѹø ´õ ºÒÇÊ¿äÇÑ <code>stat()</code> + ½Ã½ºÅÛÈ£ÃâÀÌ ÇÊ¿äÇϱ⶧¹®¿¡ inode³ª ½Éº¼¸µÅ© <em>µî</em>À» + °æ·Î¸¦ ÁöÁ¤ÇÒ ¼ö ¾ø´Ù. ÀÌ ¸ðµâÀº <code class="module"><a href="../mod/mod_alias.html">mod_alias</a></code>³ª + <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>·Î ÀçÀÛ¼ºÇÑ ÆÄÀϸíÀ» ´Ù·ê ¼ö + Àֱ⵵ ¾ø±âµµ ÇÏ´Ù.</p> + + <div class="example"><h3>¿¹Á¦</h3><p><code> MMapFile /usr/local/apache/htdocs/index.html </code></p></div> |