Apache HTTP Server Version 2.2

This document refers to the 2.2 version of Apache httpd, which is no longer maintained. The active release is documented here. If you have not already upgraded, please follow this link for more information.
You may follow this link to go to the current version of this document.
| ¼³¸í: | "¸¶Áö¸· ½½·¡½¬" ¸®´ÙÀÌ·º¼ÇÀ» Á¦°øÇÏ°í µð·ºÅ丮 index ÆÄÀÏÀ» ¼ºñ½ºÇÑ´Ù | 
|---|---|
| »óÅÂ: | Base | 
| ¸ðµâ¸í: | dir_module | 
| ¼Ò½ºÆÄÀÏ: | mod_dir.c | 
µð·ºÅ丮ÀÇ index´Â ´ÙÀ½ µÑÁß ÇѰ¡Áö ¹æ¹ýÀ¸·Î Á¦°øµÈ´Ù:
index.htmlÀ̶ó´Â
      ÆÄÀÏ. DirectoryIndex
      Áö½Ã¾î´Â ÀÌ ÆÄÀÏÀÇ À̸§À» ÁöÁ¤ÇÑ´Ù. mod_dir°¡
      ÀÌ Áö½Ã¾î¸¦ Á¦°øÇÑ´Ù.mod_autoindex°¡
      ÀÌ ±â´ÉÀ» Á¦°øÇÑ´Ù.µÎ ±â´ÉÀº ¼·Î º°°³·Î ¿øÇÑ´Ù¸é ÀÚµ¿ index »ý¼ºÀ» ¿ÏÀüÈ÷ ¾ø¾Ù (ȤÀº ±³Ã¼ÇÒ) ¼ö ÀÖ´Ù.
dirnameÀÌ µð·ºÅ丮¶ó¸é ¼¹ö´Â URL
    http://servername/foo/dirname ¿äûÀ» ¹ÞÀ¸¸é
    "¸¶Áö¸· ½½·¡½¬" ¸®´ÙÀÌ·º¼ÇÀ» º¸³½´Ù. µð·ºÅ丮¿¡´Â ¸¶Áö¸·
    ½½·¡½¬°¡ ÇÊ¿äÇÏ´Ù. ±×·¡¼ mod_dirÀº
    http://servername/foo/dirname/·Î ¸®´ÙÀÌ·º¼ÇÀ»
    º¸³½´Ù.
| ¼³¸í: | Ŭ¶óÀÌ¾ðÆ®°¡ µð·ºÅ丮¸¦ ¿äûÇÒ¶§ ã¾Æº¼ ÀÚ¿ø ¸ñ·Ï | 
|---|---|
| ¹®¹ý: | DirectoryIndex
    local-url [local-url] ... | 
| ±âº»°ª: | DirectoryIndex index.html | 
| »ç¿ëÀå¼Ò: | ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®, directory, .htaccess | 
| Override ¿É¼Ç: | Indexes | 
| »óÅÂ: | Base | 
| ¸ðµâ: | mod_dir | 
DirectoryIndex Áö½Ã¾î´Â Ŭ¶óÀÌ¾ðÆ®°¡
    µð·ºÅ丮¸í ³¡¿¡ /¸¦ ºÙ¿©¼ µð·ºÅ丮ÀÇ index¸¦ ¿äûÇÒ¶§ ã¾Æº¼
    ÀÚ¿ø ¸ñ·ÏÀ» ÁöÁ¤ÇÑ´Ù. Local-urlÀº ¿äûÇÑ µð·ºÅ丮¿¡
    »ó´ëÀûÀÎ ¹®¼ÀÇ (%·Î ÀÎÄÚµùµÈ) URLÀÌ´Ù. º¸ÅëÀº µð·ºÅ丮¿¡
    ÀÖ´Â ÆÄÀϸíÀÌ´Ù. ¿©·¯ URLÀ» ÁöÁ¤ÇÒ ¼ö ÀÖ°í, ÀÌ °æ¿ì ¼¹ö´Â
    ù¹øÂ°·Î ãÀº ÆÄÀÏÀ» º¸³½´Ù. ÀÚ¿øÀ» ãÀ» ¼ö ¾ø°í
    Indexes ¿É¼ÇÀ» ¼³Á¤ÇÏ¿´´Ù¸é ¼¹ö´Â Á÷Á¢ µð·ºÅ丮
    ¸ñ·ÏÀ» ¸¸µç´Ù.
      DirectoryIndex index.html
    
ÀÌ °æ¿ì http://myserver/docs/¸¦ ¿äûÇÒ¶§
    http://myserver/docs/index.htmlÀÌ ÀÖÀ¸¸é À̸¦
    º¸³»°í, ¾ø´Ù¸é µð·ºÅ丮 ¸ñ·ÏÀ» º¸³½´Ù.
¹®¼°¡ ¹Ýµå½Ã µð·ºÅ丮¿¡ »ó´ëÀûÀÏ ÇÊ¿ä´Â ¾ø´Ù.
      DirectoryIndex index.html index.txt  /cgi-bin/index.pl
    
ÀÌ °æ¿ì µð·ºÅ丮¿¡ index.htmlÀ̳ª
    index.txt°¡ ¾øÀ¸¸é CGI ½ºÅ©¸³Æ®
    /cgi-bin/index.plÀ» ½ÇÇàÇÑ´Ù.
| ¼³¸í: | ¸¶Áö¸· ½½·¡½¬ ¸®´ÙÀÌ·º¼ÇÀ» Ű°í ²ö´Ù | 
|---|---|
| ¹®¹ý: | DirectorySlash On|Off | 
| ±âº»°ª: | DirectorySlash On | 
| »ç¿ëÀå¼Ò: | ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®, directory, .htaccess | 
| Override ¿É¼Ç: | Indexes | 
| »óÅÂ: | Base | 
| ¸ðµâ: | mod_dir | 
| Áö¿ø: | ¾ÆÆÄÄ¡ 2.0.51 ÀÌÈĺÎÅÍ | 
DirectorySlash Áö½Ã¾î´Â
    mod_dir°¡ µð·ºÅ丮¸¦ °¡¸®Å°´Â URLÀ» ¼öÁ¤ÇÒÁö
    ¿©ºÎ¸¦ °áÁ¤ÇÑ´Ù.
»ç¿ëÀÚ°¡ ¸¶Áö¸· ½½·¡½¬¾øÀÌ µð·ºÅ丮¿¡ ÇØ´çÇÏ´Â ÀÚ¿øÀ»
    ¿äûÇϸé, mod_dir´Â º¸Åë ´ÙÀ½°ú °°Àº ÀÌÀ¯·Î
    »ç¿ëÀÚ¸¦ ¸¶Áö¸· ½½·¡½¬¸¦ ºÙÀÎ µ¿ÀÏÇÑ ÀÚ¿øÀ¸·Î
    ¸®´ÙÀÌ·º¼ÇÇÑ´Ù.
mod_autoindex°¡ ¿Ã¹Ù·Î µ¿ÀÛÇÑ´Ù. ÀÌ
    ±â´ÉÀÌ ¾ø´Ù¸é ÀÌ ¸ðµâÀº ¸µÅ©¿¡ À߸øµÈ °æ·Î¸¦ ¾²°Ô µÈ´Ù.DirectoryIndex´Â
    ¸¶Áö¸· ½½·¡½¬°¡ ÀÖ´Â µð·ºÅ丮 ¿äû¸¸À» ó¸®ÇÑ´Ù.±×·±µ¥ ÀÌ ±â´ÉÀ» ¿øÇÏÁö ¾Ê°Å³ª À§¿¡ µç ÀÌÀ¯°¡ ´ç½Å¿¡°Ô ¾Ë¸ÂÁö ¾Ê´Ù¸é ´ÙÀ½°ú °°ÀÌ ¸®´ÙÀÌ·º¼ÇÀ» ÇÏÁö ¾ÊÀ» ¼ö ÀÖ´Ù.
        # ¾Æ·¡ º¸¾È °æ°í Âü°í!
        <Location /some/path>
        
            DirectorySlash Off
            SetHandler some-handler
        
        </Location>
    
¸¶Áö¸· ½½·¡½¬ ¸®´ÙÀÌ·º¼ÇÀ» ²ô¸é Á¤º¸°¡ À¯ÃâµÉ ¼ö ÀÖ´Ù.
    (Options +Indexes) mod_autoindex¸¦
    »ç¿ëÇϰí DirectoryIndex¸¦
    (index.html °°Àº) À¯È¿ÇÑ ÀÚ¿øÀ¸·Î ¼³Á¤ÇÏ¿´Áö¸¸
    ÇØ´ç URL¿¡ ´Ù¸¥ Ưº°ÇÑ Çڵ鷯°¡ ¾ø´Â »óȲÀ» »ó»óÇØº¸¶ó.
    ÀÌ °æ¿ì ¸¶Áö¸· ½½·¡½¬°¡ ÀÖ´Â ¿äûÀº index.html
    ÆÄÀÏÀ» º¸¿©ÁØ´Ù. ±×·¯³ª ¸¶Áö¸· ½½·¡½¬°¡ ¾ø´Â ¿äûÀº
    µð·ºÅ丮 ³»¿ëÀ» º¸¿©ÁØ´Ù.
| ¼³¸í: | Define a default URL for requests that don't map to a file | 
|---|---|
| ¹®¹ý: | FallbackResource disabled | local-url | 
| ±âº»°ª: | None - httpd will return 404 (Not Found) | 
| »ç¿ëÀå¼Ò: | ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®, directory, .htaccess | 
| Override ¿É¼Ç: | Indexes | 
| »óÅÂ: | Base | 
| ¸ðµâ: | mod_dir | 
| Áö¿ø: | Apache HTTP Server 2.2.16 and later - The disabledargument
is supported since 2.2.24 | 
The documentation for this directive has not been translated yet. Please have a look at the English version.