Apache HTTP Server Version 2.4
¼³¸í: | HTTP Çì´õ¸¦ Æ÷ÇÔÇÑ ÆÄÀÏÀ» º¸³½´Ù |
---|---|
»óÅÂ: | Base |
¸ðµâ¸í: | asis_module |
¼Ò½ºÆÄÀÏ: | mod_asis.c |
ÀÌ ¸ðµâÀº ¾ÆÆÄÄ¡°¡ ÀϹÝÀûÀÎ HTTP Çì´õÀÇ ´ëºÎºÐÀ» Ãß°¡ÇÏÁö¾Ê°í
¹®¼¸¦ º¸³»µµ·Ï ¸¸µå´Â send-as-is
Çڵ鷯¸¦
Á¦°øÇÑ´Ù.
±×·¡¼ ¼¹ö´Â cgi ½ºÅ©¸³Æ®³ª nph ½ºÅ©¸³Æ®¸¦ »ç¿ëÇÏÁö¾Ê°íµµ ¸®´ÙÀÌ·º¼Ç°ú ´Ù¸¥ Ưº°ÇÑ HTTP ÀÀ´ä µî ¾î¶² ÀÚ·áµµ º¸³¾ ¼ö ÀÖ´Ù.
°ú°Å¿¡ ÀÌ ¸ðµâÀº mime typeÀÌ httpd/send-as-is
ÀÎ
ÆÄÀϵµ ó¸®Çß´Ù.
ÀÌ ¸ðµâ¿¡´Â Áö½Ã¾î°¡ ¾ø½À´Ï´Ù.
¼¹ö ¼³Á¤ÆÄÀÏ¿¡¼ ÆÄÀÏ°ú send-as-is
Çڵ鷯¸¦
¿¹¸¦ µé¾î ´ÙÀ½°ú °°ÀÌ ¿¬°áÇÑ´Ù.
AddHandler send-as-is asis
¾ÆÆÄÄ¡´Â .asis
È®ÀåÀÚ¸¦ °¡Áø ÆÄÀÏÀÇ ³»¿ëÀ»
°ÅÀÇ ¼öÁ¤ÇÏÁö¾Ê°í Ŭ¶óÀ̾ðÆ®¿¡°Ô º¸³½´Ù. Ŭ¶óÀ̾ðÆ®´Â HTTP
Çì´õ°¡ ÇÊ¿äÇϹǷΠ»©¸ÔÁö¸¶¶ó. Status: Çì´õµµ ÇÊ¿äÇÏ´Ù. ÀÌ
Çì´õÀÇ ³»¿ëÀº ¼¼ÀÚ¸® ¼ýÀÚÀÎ HTTP ÀÀ´äÄÚµå¿Í ±× µÚÀÇ ¹®±¸ÀÌ´Ù.
´ÙÀ½Àº ³»¿ë ±×´ë·Î Ŭ¶óÀ̾ðÆ®¿¡°Ô ÆÄÀÏÀÌ ¸®´ÙÀ̷¼ǵǾú´Ù°í ¾Ë¸®´Â ÆÄÀÏÀÇ ¿¹ÀÌ´Ù.
Status: 301 Now where did I leave that URL
Location: http://xyz.abc.com/foo/bar.html
Content-type: text/html
<html>
<head>
<title>Lame excuses'R'us</title>
</head>
<body>
<h1>Fred's exceptionally wonderful page has moved to
<a href="http://xyz.abc.com/foo/bar.html">Joe's</a>
site.
</h1>
</body>
</html>
¼¹ö´Â ÀڷḦ Ŭ¶óÀ̾ðÆ®¿¡°Ô º¸³¾¶§ Ç×»ó Date:
¿Í
Server:
Çì´õ¸¦ Ãß°¡ÇϹǷÎ, ÆÄÀÏ¿¡ ÀÌ Çì´õ°¡
ÀÖÀ¸¸é ¾ÈµÈ´Ù. ¼¹ö´Â Last-Modified
Çì´õ¸¦
Ãß°¡ÇÏÁö ¾Ê´Â´Ù. ±×·¡¼ ¾Æ¸¶µµ ÀÌ Çì´õ´Â Æ÷ÇÔÇؾß
ÇÑ´Ù.