sun's longitude:52 41 33 
¡¤ ÀÚÀ¯°Ô½ÃÆÇ ¡¤ ¹¯°í´äÇϱ⠡¤ ¾ËÆĹ®¼­ ¡¤ RPMS list
¡¤ »ç¿ëÀÚ¹®¼­ ¡¤ ÆÁ/FAQ¸ðÀ½ ¡¤ ¸®´ª½ºLinks ¡¤ ÀÚ·á½Ç
¡¤ ¼­¹öÁ¤º¸ ¡¤ ¿î¿µÀÚ ¡¤ Books/FAQ ¡¤ FreeBSD
 
/board/read.php:¼Ò½ºº¸±â   
 

Áú¹®°ú ´äº¯ °Ô½ÃÆÇÀÔ´Ï´Ù.

ÇöÀç ½Ç½Ã°£À¸·Î ÀÌ°÷ ¼­¹öÀÇ ¼³Á¤ÆÄÀÏ(¸î°³)¸¦ º¸¿©ÁÖ°í ÀÖ½À´Ï´Ù.
¼­¹öÀÇ ¼³Á¤³»¿ë¿¡ °üÇÑ Áú¹®Àº ¸ÕÀú ÀÌ°÷ ¼­¹öÀÇ ¼³Á¤³»¿ëÀ» Âü°íÇÏ½Ã±æ ¹Ù¶ø´Ï´Ù.

[*** ¾²±â ±ÝÁö´Ü¾î ÆÐÅÏ ***]
±Û º»¹® Áß°£¿¡ ¾÷·ÎµåÇÒ À̹ÌÁö¸¦ Ãß°¡ÇÏ´Â ¹æ¹ý : @@À̹ÌÁöÀ̸§@@
ex) @@foo.gif@@
1337 ¹ø ±ÛÀÇ ´äÀå±Û: Re: 404 ÆäÀÌÁö
±Û¾´ÀÌ: »êÀÌ [ȨÆäÀÌÁö] ±Û¾´³¯: 2003³â 02¿ù 21ÀÏ 20:37:05 ±Ý(Àú³á) Á¶È¸: 819
[±è¼º¹Î]´ÔÀÌ ³²±â½Å ±Û:

>¾È³çÇϼ¼¿ä, 
>
>404 ÆäÀÌÁö »ç¿ë¿¡ ÀÖ¾î ±Ã±ÝÇÑ°Ô ÀÖ½À´Ï´Ù.
>
>httpd.conf ¿¡¼­ 
>
>servername domain.com
>....»ý·«....
>
>ErrorDocument 404 /page/404/index.html
>
><VirtualHost 127.0.0.1>
>DocumentRoot /usr/local/aapche/htdocs
>servername domain.com
>.......»ý·«.......
></VirtualHost>
>
>NameVirtualhost 127.0.0.1
>
><VirtualHost 127.0.0.1>
>DocumentRoot /home/id/www
>.......»ý·«.......
></VirtualHost>
>
>ÀÌ¿Í °°ÀÌ NameVirtualhost 127.0.0.1 ÇϱâÀü¿¡ domain.com ¿¡ ´ëÇÑ È£½ºÆ®¸¦ ÁöÁ¤ÇØ
ÁÖ¶ó´Â »êÀÌ´Ô Ã¥ ³»¿ë´ë·Î ÇÏ¿´½À´Ï´Ù.
>
>
>°¡»óÈ£½ºÆ® ¸»°í domain.com ±âº» µð·ºÅ丮ÀÎ /usr/local/apache/htdocs ¿¡
>page/404/index.html À» À§Ä¡ ½ÃÅ°°í,
>
>ErrorDocument 404 /page/404/index.html
>
>ÀÌ¿Í °°ÀÌ ÇÏ¿´½À´Ï´Ù.
>
>±Ùµ¥ http://www.domain.com/test.html °ú °°ÀÌ È£ÃâÇϸé test.html ÀÌ
¾ø±â ¶§¹®¿¡ /page/404/index.html ·Î ¿¬°áÀÌ µÇ´Âµ¥ ¹Ø¿¡ °¡»óÈ£½ºÆ®¿¡¼­´Â
>Àû¿ëÀÌ ¾ÈµÇ´õ¶ó±¸¿ä.
>domain.com °ú °°ÀÌ ±âº» µµ¸ÞÀÎÀº µÇ´Âµ¥ VirtualHost ·Î µÈ°ÍÀº ¾ÈµÇ´Âµ¥ ÀÌ °æ¿ì
¾î¶»°Ô ÇØ¾ß ÇÏ´ÂÁö ±Ã±ÝÇÕ´Ï´Ù.
> 

========================================

ErrorDocument ¼³Á¤À» server config·Î ¼³Á¤ÇÏ¸é °¢°¢ÀÇ °¡»óÈ£½ºÆ®
¸¶´Ù °°Àº ÆÄÀÏÀÌ Á¸ÀçÇØ¾ß ÇÕ´Ï´Ù.

Áï

ServerName domain.com
ErrorDocument 404 /page/404/index.html


ÀÌ¿Í°°ÀÌ server config¿¡ ¼³Á¤Çϸé
´ÙÀ½°ú °°ÀÌ

<VirtualHost ....>
  ServerName domain2.com
  ServerAlias *.domain2.com
  DocumentRoot /home/id/www
  ...
  ErrorDocument 404 /page/404/index.html ## »ý·«Çϸé ÀÚµ¿ Àû¿ëµÊ
</VirutaHost>

¼³Á¤ÇÏÁö ¾Ê¾Æµµ ÀÚµ¿À¸·Î server config ¿¡ ¼³Á¤ÇÑ
ErrorDocument 404 /page/404/index.html ÀÌ ÀÚµ¿ Àû¿ëµË´Ï´Ù.

Áï ÀÌ°ÍÀ» Ç®¾î¼­ ¼³¸íÇϸé

/home/id/www/page/404/index.html

¿¡µµ ÆÄÀÏÀÌ Á¸ÀçÇؾßÇÏ°í URL·Î Çþ ¾²¸é

http://domain2.com/page/404/index.html

¿Í °°½À´Ï´Ù.

Á¤¸®Çϸé,

server config ¿¡ Çϳª¸¸ ¼³Á¤ÇÏ°í °¢°¢ÀÇ VirtualHost ¿¡´Â
¼³Á¤ÇÏÁö ¾ÊÀ¸¸é

[±âº» µµ¸ÞÀÎ]
/usr/local/apache/htdocs/page/404/index.html
^^|^^^^^^^^^^^^^^^^^^^^^
  |                     ^^|^^^^^^^^^^^^^^^^^
  `--> http://domain.com  |
       ^^^^^^^|^^^^^^^^^  |
              |           |
       http://domain.com/page/404/index.html


[°¡»óÈ£½ºÆ®1]
/home/id/www/page/404/index.html
^^|^^^^^^^^^
  |          ^^^^^^^^^^^^^|^^^^^
  `--> http://domain2.com |
       ^^^^^^^|^^^^^^^^^^ |
              |           |
       http://domain2.com/page/404/index.html


[°¡»óÈ£½ºÆ®2]
/home/id3/www/page/404/index.html
^^|^^^^^^^^^^
  |          ^^^^^^^^^^^^^|^^^^^
  `--> http://domain3.com |
       ^^^^^^^|^^^^^^^^^^ |
              |           |
       http://domain3.com/page/404/index.html


ÀÌ¿Í °°ÀÌ Ç®À̵˴ϴÙ.

 
ÀÌÀü±Û : 404 ÆäÀÌÁö
´ÙÀ½±Û : »ç¿ëÀÚÀÇ sshÁ¢¼ÓÀ» Â÷´ÜÇÏ·Á¸é ¾î¶»°Ô ÇØ¾ß Çϳª¿ä?  
 from 61.254.75.40
JS(Redhands)Board 0.4 +@

404 ÆäÀÌÁö »ç¿ëÀÚÀÇ sshÁ¢¼ÓÀ» Â÷´ÜÇÏ·Á¸é ¾î¶»°Ô ÇØ¾ß Çϳª¿ä?
Àμâ¿ë 


apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.03(server) + (network) + (browser) seconds