1 <?xml version="1.0" encoding="EUC-KR" ?>
2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
4 <!-- English Revision: 125277:1343935 (outdated) -->
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
23 <modulesynopsis metafile="mod_info.xml.meta">
26 <description>¼¹ö ¼³Á¤¿¡ ´ëÇÑ Á¾ÇÕÀûÀÎ Á¤º¸¸¦ º¸¿©ÁØ´Ù</description>
27 <status>Extension</status>
28 <sourcefile>mod_info.c</sourcefile>
29 <identifier>info_module</identifier>
32 <p><module>mod_info</module>¸¦ »ç¿ëÇÏ·Á¸é <code>httpd.conf</code>
33 ÆÄÀÏ¿¡ ´ÙÀ½°ú °°ÀÌ Ãß°¡ÇÑ´Ù.</p>
36 <Location /server-info><br />
38 SetHandler server-info<br />
44 <code>http://your.host.example.com/server-info</code>¿¡
45 Á¢±ÙÇÏ¿© ¼¹ö¿¡ ´ëÇÑ Á¤º¸¸¦ º¼ ¼ö ÀÖ´Ù.</p>
48 <section id="security"><title>º¸¾È ¹®Á¦</title>
49 <p>Çѹø ¼¹ö°¡ <module>mod_info</module>¸¦ ÀоîµéÀ̸é, µð·ºÅ丮º°
50 ¼³Á¤ÆÄÀÏ(<em>¿¹¸¦ µé¾î</em>, <code>.htaccess</code>)À» Æ÷ÇÔÇÑ
51 <em>¸ðµç</em> ¼³Á¤ÆÄÀÏ¿¡¼ ÀÌ Çڵ鷯 ±â´ÉÀ» »ç¿ëÇÒ ¼ö ÀÖ´Ù.
52 ±×·¡¼ »çÀÌÆ®¿¡ º¸¾È°ü·Ã ¹®Á¦°¡ µÉ ¼ö ÀÖ´Ù.</p>
54 <p>ƯÈ÷ ÀÌ ¸ðµâÀº ½Ã½ºÅÛ °æ·Î, »ç¿ëÀÚ¸í/¾ÏÈ£, µ¥ÀÌÅͺ£À̽º
55 À̸§°ú °°ÀÌ ¿©·¯ ¾ÆÆÄÄ¡ ¸ðµâÀÇ ¼³Á¤Áö½Ã¾î¿¡ ±â·ÏÇÑ ¹Î°¨ÇÑ
56 Á¤º¸¸¦ À¯ÃâÇÒ ¼ö ÀÖ´Ù. ±×·¡¼ ÀÌ ¸ðµâÀº Ç×»ó ÁÖÀÇÇØ¾ß Çϸç
57 ÅëÁ¦µÈ ȯ°æ¿¡¼<strong>¸¸</strong> »ç¿ëÇØ¾ß ÇÑ´Ù.</p>
59 <p>´ÙÀ½°ú °°ÀÌ <module>mod_authz_host</module>¸¦ »ç¿ëÇÏ¿©
60 ¼¹ö ¼³Á¤ Á¤º¸¿¡ ´ëÇÑ Á¢±ÙÀ» Á¦ÇÑÇÒ ¼ö ÀÖ´Ù.</p>
62 <example><title>Á¢±Ù Á¦¾î</title>
63 <Location /server-info><br />
65 SetHandler server-info<br />
66 Order allow,deny<br />
67 # ÀÚ½ÅÀ¸·Î ºÎÅÍ Á¢±Ù Çã°¡<br />
68 Allow from 127.0.0.1<br />
69 # Ãß°¡·Î, ±Ùó¿¡ ÀÖ´Â ¿öÅ©½ºÅ×À̼ÇÀ¸·Î ºÎÅÍ Á¢±Ù Çã°¡<br />
70 Allow from 192.168.1.17<br />
76 <section id="queries"><title>º¸¿©ÁÖ´Â Á¤º¸ ¼±ÅÃÇϱâ</title>
77 <p>±âº»ÀûÀ¸·Î ¼¹ö Á¤º¸¿¡´Â »ç¿ëÇÏ´Â ¸ðµâ ¸ñ·Ï°ú ¸ðµâº°·Î
78 ¸ðµâÀÌ ÀÌÇØÇÏ´Â Áö½Ã¾î ¼³¸í, ¸ðµâÀÌ ±¸ÇöÇÑ ÈÅ(hook), ÇöÀç
79 ¼³Á¤¿¡¼ »ç¿ëÇÑ Áö½Ã¾î Á¤º¸°¡ ÀÖ´Ù.</p>
81 <p><code>server-info</code> ¿äû¿¡ ÁúÀǹ®ÀÚ¿À» ºÙ¿©¼ ¼³Á¤
82 Á¤º¸¸¦ ´Ù¸£°Ô º¼ ¼ö ÀÖ´Ù. ¿¹¸¦ µé¾î,
83 <code>http://your.host.example.com/server-info?config</code>´Â
84 ¸ðµç ¼³Á¤Áö½Ã¾î¸¦ º¸¿© ÁØ´Ù.</p>
87 <dt><code>?<module-name></code></dt>
88 <dd>¸í½ÃÇÑ ¸ðµâ¿¡ ´ëÇÑ Á¤º¸¸¸</dd>
89 <dt><code>?config</code></dt>
90 <dd>¸ðµâº°·Î Á¤·ÄÇÏÁö ¾Ê°í, ¼³Á¤Áö½Ã¾î¸¸</dd>
91 <dt><code>?hooks</code></dt>
92 <dd>¸ðµâÀÌ µî·ÏÇÑ ÈÅ(hook) ¸ñ·Ï¸¸</dd>
93 <dt><code>?list</code></dt>
94 <dd>»ç¿ëÇÏ´Â ¸ðµâ ¸ñ·Ï¸¸</dd>
95 <dt><code>?server</code></dt>
96 <dd>±âº» ¼¹ö Á¤º¸¸¸</dd>
100 <section id="limitations"><title>¾Ë·ÁÁø ÇÑ°è</title>
101 <p><module>mod_info</module>´Â ¿ø·¡ ¼³Á¤ÆÄÀÏÀ» ÀÐÁö ¾Ê°í
102 ÀÌ¹Ì ÀоîµéÀÎ ¼³Á¤ Á¤º¸¸¦ Âü°íÇÏ¿© Á¤º¸¸¦ º¸¿©ÁØ´Ù. ¼³Á¤À»
103 ÆĽÌÇÏ´Â ¹æ¹ý¶§¹®¿¡ ´ÙÀ½°ú °°Àº ¸î°¡Áö ÇÑ°è°¡ ÀÖ´Ù.</p>
105 <li>ÆĽÌÇÑ ¼³Á¤ Á¤º¸¿¡ ±â·ÏÇÏÁö ¾Ê°í Áï½Ã ½ÇÇàµÇ´Â Áö½Ã¾î¸¦
106 º¸¿©ÁÖÁö ¸øÇÑ´Ù. <directive
107 module="core">ServerRoot</directive>, <directive
108 module="mod_so">LoadModule</directive>, <directive
109 module="mod_so">LoadFile</directive>°ú °°Àº Áö½Ã¾î°¡
110 ¿©±â¿¡ ÇØ´çÇÑ´Ù.</li>
111 <li><directive module="core">Include</directive>, <directive
112 module="core"><IfModule></directive>, <directive
113 module="core"><IfDefine></directive>°ú °°ÀÌ
114 ¼³Á¤ÆÄÀÏ ÀÚü¸¦ Á¶Á¤ÇÏ´Â Áö½Ã¾î¸¦ º¸¿©ÁÖÁö ¸øÇÑ´Ù.
115 ±×·¯³ª ¾È¿¡ ÀÖ´Â ¼³Á¤Áö½Ã¾î´Â º¸¿©ÁØ´Ù.</li>
116 <li>ÁÖ¼®À» º¸¿©ÁÖÁö ¸øÇÑ´Ù. (ÇÑ°è¶ó±â º¸´Ù´Â ±â´ÉÀ̶ó°í
117 »ý°¢ÇÒ ¼ö ÀÖ´Ù.)</li>
118 <li>(Áö¼ÓÀûÀÎ ¼¹ö¼³Á¤ÀÌ ¾Æ´Ï±â ¶§¹®¿¡) <code>.htaccess</code>
119 ÆÄÀÏ¿¡ ÀÖ´Â ¼³Á¤Áö½Ã¾î¸¦ º¸¿©ÁÖÁö ¸øÇÑ´Ù.</li>
120 <li>º¸Åë <directive module="core"><Directory></directive>¿Í
121 °°Àº ¹üÀ§Á¦ÇÑ Áö½Ã¾î´Â º¸¿©ÁÖÁö¸¸,
122 <module>mod_info</module>´Â ¸¶Ä¡´Â <directive
123 module="core"></Directory></directive>ÀÇ ÁÙ¹øÈ£¸¦
125 <li><module>mod_perl</module>°ú °°ÀÌ Á¦»ïÀÚ°¡ ¸¸µç ¸ðµâÀÇ
126 Áö½Ã¾î¸¦ º¸¿©ÁÖÁö ¸øÇÒ ¼ö ÀÖ´Ù.</li>
131 <name>AddModuleInfo</name>
132 <description>¸ðµâ¿¡ ´ëÇÑ Ãß°¡ Á¤º¸¸¦ server-info Çڵ鷯°¡ º¸¿©ÁÖµµ·Ï
133 Ãß°¡ÇÑ´Ù</description>
134 <syntax>AddModuleInfo <var>module-name</var> <var>string</var></syntax>
135 <contextlist><context>server config</context><context>virtual host</context>
137 <compatibility>¾ÆÆÄÄ¡ 1.3 ÀÌÈÄ</compatibility>
140 <p><var>module-name</var> ¸ðµâ¿¡ ´ëÇÑ <strong>Ãß°¡ Á¤º¸</strong>·Î
141 <var>string</var>ÀÇ ³»¿ëÀ» HTML·Î º¸¿©ÁØ´Ù. ¿¹¸¦ µé¾î,</p>
144 AddModuleInfo mod_deflate.c 'See <a \<br />
146 href="http://www.apache.org/docs/&httpd.docs;/mod/mod_deflate.html">\<br />
147 http://www.apache.org/docs/docs/&httpd.docs;/mod/mod_deflate.html</a>'