]> granicus.if.org Git - apache/blob - docs/manual/custom-error.html.ko.euc-kr
update transformation
[apache] / docs / manual / custom-error.html.ko.euc-kr
1 <?xml version="1.0" encoding="EUC-KR"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
4         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5               This file is generated from xml source: DO NOT EDIT
6         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7       -->
8 <title>»ç¿ëÀÚÁ¤ÀÇ ¿À·ù ÀÀ´ä - Apache HTTP Server</title>
9 <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="./images/favicon.ico" rel="shortcut icon" /></head>
13 <body id="manual-page"><div id="page-header">
14 <p class="menu"><a href="./mod/">¸ðµâ</a> | <a href="./mod/directives.html">Áö½Ã¾îµé</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">¿ë¾î</a> | <a href="./sitemap.html">»çÀÌÆ®¸Ê</a></p>
15 <p class="apache">Apache HTTP Server Version 2.1</p>
16 <img alt="" src="./images/feather.gif" /></div>
17 <div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="./images/left.gif" /></a></div>
18 <div id="path">
19 <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs-project/">Documentation</a> &gt; <a href="./">Version 2.1</a></div><div id="page-content"><div id="preamble"><h1>»ç¿ëÀÚÁ¤ÀÇ ¿À·ù ÀÀ´ä</h1>
20 <div class="toplang">
21 <p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="./en/custom-error.html">&nbsp;en&nbsp;</a> | <a href="./ja/custom-error.html">&nbsp;ja&nbsp;</a> | <a href="./ko/custom-error.html">&nbsp;ko&nbsp;</a></p>
22 </div>
23
24     <p>À¥¸¶½ºÅʹ ¿À·ù³ª ¹®Á¦°¡ ¹ß»ýÇßÀ»¶§ ¾ÆÆÄÄ¡ÀÇ ÀÀ´äÀ»
25     ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.</p>
26     
27     <p>¼­¹ö°¡ ¿À·ù³ª ¹®Á¦¸¦ ¹ß°ßÇßÀ»¶§ º¸³¾ »ç¿ëÀÚÁ¤ÀÇ ÀÀ´äÀ»
28     Á¤ÀÇÇÒ ¼ö ÀÖ´Ù.</p>
29     
30     <p>½ºÅ©¸³Æ®°¡ Á×Àº °æ¿ì "500 Server Error" ÀÀ´ä ´ë½Å »ç¿ëÀÚ¿¡°Ô
31     ´õ Ä£±ÙÇÑ ¹®±¸¸¦ »ç¿ëÇϰųª ´Ù¸¥ (°°Àº »çÀÌÆ®³ª ¿ÜºÎ »çÀÌÆ®ÀÇ)
32     URL·Î ¸®´ÙÀÌ·º¼ÇÀ» ÇÒ ¼ö ÀÖ´Ù.</p>
33   </div>
34 <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#behavior">Çൿ</a></li>
35 <li><img alt="" src="./images/down.gif" /> <a href="#configuration">¼³Á¤</a></li>
36 <li><img alt="" src="./images/down.gif" /> <a href="#custom">»ç¿ëÀÚÁ¤ÀÇ ¿À·ù ÀÀ´ä°ú ¸®´ÙÀÌ·º¼Ç</a></li>
37 </ul></div>
38 <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
39 <div class="section">
40 <h2><a name="behavior" id="behavior">Çൿ</a></h2>
41     
42     
43     <h3>ÀÌÀü Çൿ</h3>
44       
45       
46       <p>NCSA httpd 1.3Àº »ç¿ëÀÚ¿¡°Ô ¹«ÀǹÌÇÏ°í Áö·çÇÑ ¿À·ù¹®À»
47       º¸³Â´Ù. ¹®Á¦°¡ ¹ß»ýÇÑ ÀÌÀ¯¸¦ ·Î±×¿¡ ³²±æ ¼öµµ ¾ø¾ú´Ù.</p>
48     
49     
50     <h3>»õ·Î¿î Çൿ</h3>
51       
52       
53       <p>¼­¹ö´Â ´ÙÀ½°ú °°Àº ÀÏÀ» ÇÒ ¼ö ÀÖ´Ù:</p>
54       
55       <ol>
56         <li>NCSAÀÇ °íÁ¤µÈ ¹®±¸ ´ë½Å ´Ù¸¥ ¹®±¸¸¦ º¸¿©Áְųª</li>
57       
58         <li>°°Àº »çÀÌÆ®ÀÇ URL·Î ¸®´ÙÀÌ·º¼ÇÇϰųª</li>
59       
60         <li>¿ÜºÎ »çÀÌÆ®ÀÇ URL·Î ¸®´ÙÀÌ·º¼ÇÇÑ´Ù.</li>
61       </ol>
62       
63       <p>´Ù¸¥ »çÀÌÆ®ÀÇ URL·Î ¸®´ÙÀÌ·º¼ÇÇϴ °ÍÀÌ À¯¿ëÇÒ ¼ö ÀÖÁö¸¸,
64       ÀÌ °æ¿ì ¹®Á¦¸¦ ¼³¸íÇϰųª ·Î±×Çϴµ¥ ÇÊ¿äÇÑ Á¤º¸Áß ÀϺθ¸
65       Àü´ÞµÈ´Ù.</p>
66       
67       <p>¿À·ù¿¡ ´ëÇÑ Á¤º¸¸¦ Àü´ÞÇϱâÀ§ÇØ ¾ÆÆÄÄ¡´Â CGI½ÄÀÇ »õ·Î¿î
68       È¯°æº¯¼ö¸¦ Á¤ÀÇÇÑ´Ù:</p>
69       
70       <div class="example"><p><code>
71         REDIRECT_HTTP_ACCEPT=*/*, image/gif, image/x-xbitmap, 
72             image/jpeg<br />
73         REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX A.09.05 
74             9000/712)<br />
75         REDIRECT_PATH=.:/bin:/usr/local/bin:/etc<br />
76         REDIRECT_QUERY_STRING=<br />
77         REDIRECT_REMOTE_ADDR=121.345.78.123<br />
78         REDIRECT_REMOTE_HOST=ooh.ahhh.com<br />
79         REDIRECT_SERVER_NAME=crash.bang.edu<br />
80         REDIRECT_SERVER_PORT=80<br />
81         REDIRECT_SERVER_SOFTWARE=Apache/0.8.15<br />
82         REDIRECT_URL=/cgi-bin/buggy.pl
83       </code></p></div>
84       
85       <p><code>REDIRECT_</code> Á¢µÎ»ç¿¡ ÁÖ¸ñÇ϶ó.</p>
86       
87       <p>ÃÖ¼ÒÇÑ <code>REDIRECT_URL</code>°ú
88       <code>REDIRECT_QUERY_STRING</code>Àº (cgi-script³ª
89       cgi-includeÀÏ) »õ URL·Î ³Ñ°ÜÁø´Ù. ´Ù¸¥ º¯¼ö´Â ¿À·ù°¡
90       ¹ß»ýÇϱâ ÀÌÀü¿¡ <span class="transnote">(<em>¿ªÁÖ;</em> À̸§¿¡¼­ <code>REDIRECT_</code>¸¦
91       »« È¯°æº¯¼ö°¡)</span> Á¸ÀçÇÑ °æ¿ì¿¡¸¸ ÀÖ´Ù.
92       <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code>°¡
93       <em>¿ÜºÎ·Î</em> (°°Àº ¼­¹ö¶óµµ <code>http:</code>¿Í
94       °°Àº ½ºÅ´(scheme)À¸·Î ½ÃÀÛÇÑ´Ù¸é) ¸®´ÙÀÌ·º¼ÇÇÑ´Ù¸é
95       ÀÌÁß ¾î¶² °Íµµ ¼³Á¤µÇÁö <strong>¾Ê´Â´Ù</strong>.</p>
96     
97   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
98 <div class="section">
99 <h2><a name="configuration" id="configuration">¼³Á¤</a></h2>
100     
101     
102     <p><code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code>°¡
103     ÀûÀýÈ÷ ¼³Á¤µÇ¾ú´Ù¸é .htaccess ÆÄÀÏ¿¡¼­
104     <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code>¸¦ »ç¿ëÇÒ
105     ¼ö ÀÖ´Ù.</p>
106     
107     <p>´ÙÀ½Àº ¿¹ÀÌ´Ù...</p>
108     
109     <div class="example"><p><code>
110       ErrorDocument 500 /cgi-bin/crash-recover <br />
111       ErrorDocument 500 "Sorry, our script crashed. Oh dear" <br />
112       ErrorDocument 500 http://xxx/ <br />
113       ErrorDocument 404 /Lame_excuses/not_found.html <br />
114       ErrorDocument 401 /Subscription/how_to_subscribe.html
115     </code></p></div>
116     
117     <p>¹®¹ýÀº,</p>
118     
119     <div class="example"><p><code>
120       ErrorDocument &lt;3-digit-code&gt; &lt;action&gt;
121     </code></p></div>
122     
123     <p>°¡´ÉÇÑ actionÀº,</p>
124     
125     <ol>
126       <li>Ãâ·ÂÇÒ ¹®±¸. µû¿ÈÇ¥ (")¸¦ ¹®±¸ ¾Õ¿¡ ºÙÀδÙ. µÚ¿¡ ³ª¿À´Â
127       µû¿ÈÇ¥´Â Ãâ·ÂµÈ´Ù. <em>ÁÖÀÇ: ¾Õ¿¡ ºÙÀº µû¿ÈÇ¥ (")´Â Ãâ·ÂµÇÁö
128       ¾Ê´Â´Ù.</em></li>
129     
130       <li>¸®´ÙÀÌ·º¼ÇÇÒ ¿ÜºÎ URL.</li>
131     
132       <li>¸®´ÙÀÌ·º¼ÇÇÒ ³»ºÎ URL.</li>
133     </ol>
134   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
135 <div class="section">
136 <h2><a name="custom" id="custom">»ç¿ëÀÚÁ¤ÀÇ ¿À·ù ÀÀ´ä°ú ¸®´ÙÀÌ·º¼Ç</a></h2>
137     
138     
139     <p>URL·Î ¸®´ÙÀÌ·º¼ÇÇϴ ¾ÆÆÄÄ¡ ÇൿÀº
140     ½ºÅ©¸³Æ®/server-include¿¡ È¯°æº¯¼ö¸¦ ´õ ³Ñ°ÜÁÖµµ·Ï º¯°æµÇ¾ú´Ù.</p>
141     
142     <h3>ÀÌÀü Çൿ</h3>
143       
144     
145       <p>¸®´ÙÀÌ·º¼ÇµÇ´Â ½ºÅ©¸³Æ®¿¡ Ç¥ÁØ CGI º¯¼öµéÀÌ ³Ñ¾î°£´Ù.
146       ¾îµð¿¡¼­ ¸®´ÙÀÌ·º¼ÇÀÌ ÀϾ´ÂÁö ¾Ë ¼ö ¾ø´Ù.</p>
147     
148     
149     <h3>»õ·Î¿î Çൿ</h3>
150       
151     
152       <p>¸®´ÙÀÌ·º¼ÇµÈ ½ºÅ©¸³Æ®´Â »õ·Î¿î È¯°æº¯¼öµéÀ» »ç¿ëÇÒ
153       ¼ö ÀÖ´Ù. ¸ðµÎ ¾Õ¿¡ <code>REDIRECT_</code>°¡ ºÙ¾îÀÖ´Ù.
154       <code>REDIRECT_</code> È¯°æº¯¼ö´Â ¿ø·¡ CGI È¯°æº¯¼ö¸í
155       ¾Õ¿¡ <code>REDIRECT_</code>¸¦ ºÙ¿©¼­ ¸¸µç´Ù. <em>¿¹¸¦
156       µé¾î</em>, <code>HTTP_USER_AGENT</code>´Â
157       <code>REDIRECT_HTTP_USER_AGENT</code>°¡ µÇ¾ú´Ù. ÀÌ·± º¯¼ö¿¡
158       Ãß°¡·Î ½ºÅ©¸³Æ®°¡ ¿ø·¡ URLÀ» ¾Ëµµ·Ï ¾ÆÆÄÄ¡´Â
159       <code>REDIRECT_URL</code>°ú <code>REDIRECT_STATUS</code>¸¦
160       Á¤ÀÇÇÑ´Ù. ¿ø·¡ URL°ú ¸®´ÙÀÌ·º¼ÇµÈ URL ¸ðµÎ Á¢±Ù ·Î±×¿¡
161       ±â·ÏÇÒ ¼ö ÀÖ´Ù.</p>
162     
163       <p>ErrorDocument°¡ °°Àº ¼­¹ö¿¡ Àִ CGI ½ºÅ©¸³Æ®·Î
164       ¸®´ÙÀÌ·º¼ÇÇÑ´Ù¸é, ½ºÅ©¸³Æ®´Â Å¬¶óÀ̾ðÆ®¿¡°Ô ¿À·ù »óȲÀ»
165       È®½ÇÈ÷ Àü´ÞÇϱâÀ§ÇØ Ãâ·Â¿¡ "<code>Status:</code>" Çì´õ
166       Çʵ带 Æ÷ÇÔÇؾߠÇÑ´Ù. ¿¹¸¦ µé¾î, Perl·Î ÀÛ¼ºÇÑ ErrorDocument
167       ½ºÅ©¸³Æ®´Â ´ÙÀ½°ú °°´Ù:</p>
168     
169       <div class="example"><p><code>
170         ... <br />
171         print  "Content-type: text/html\n"; <br />
172         printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br />
173         ...
174       </code></p></div>
175     
176       <p><code>404&nbsp;Not&nbsp;Found</code>¿Í °°Àº Æ¯Á¤ ¿À·ù
177       »óȲ¿¡ ´ëÇÑ ½ºÅ©¸³Æ®¶ó¸é, ´ë½Å <span class="transnote">(<em>¿ªÁÖ;</em> °íÁ¤µÈ)</span>
178       Æ¯Á¤ »óÅÂÄÚµå¿Í ¿À·ù¹®À» »ç¿ëÇÒ ¼ö ÀÖ´Ù.</p>
179
180       <p>(Ŭ¶óÀ̾ðÆ®¿¡°Ô ¸®´ÙÀÌ·º¼ÇÀ» ¿äûÇϱâÀ§ÇØ) ÀÀ´ä¿¡
181       <code>Location:</code> Çì´õ¸¦ Æ÷ÇÔÇÑ´Ù¸é, ½ºÅ©¸³Æ®´Â
182       <em>¹Ýµå½Ã</em> (<code>302&nbsp;Found</code> °°Àº) ÀûÀýÇÑ
183       <code>Status:</code> Çì´õ¸¦ Ãâ·ÂÇؾߠÇÔÀ» ÁÖÀÇÇ϶ó. ±×·¸Áö¾ÊÀ¸¸é
184       <code>Location:</code> Çì´õ°¡ ¾Æ¹« ¼Ò¿ë¾ø°Ô µÉ ¼ö ÀÖ´Ù.</p>
185     
186   </div></div>
187 <div class="bottomlang">
188 <p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="./en/custom-error.html">&nbsp;en&nbsp;</a> | <a href="./ja/custom-error.html">&nbsp;ja&nbsp;</a> | <a href="./ko/custom-error.html">&nbsp;ko&nbsp;</a></p>
189 </div><div id="footer">
190 <p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
191 <p class="menu"><a href="./mod/">¸ðµâ</a> | <a href="./mod/directives.html">Áö½Ã¾îµé</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">¿ë¾î</a> | <a href="./sitemap.html">»çÀÌÆ®¸Ê</a></p></div>
192 </body></html>