| Apache2 :: Clickpath :: Store. Apache2 :: ClickPath :: Store Module Apache2 :: ClickPath ¼¼¼ÇÀ» »ç¿ëÇÏ¿© Á¤º¸¸¦ ÀúÀåÇÒ ¼ö ÀÖ½À´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Apache2 :: Clickpath :: Store. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Torsten Foertsch
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~opi/Apache2-Translation-0.24/lib/Apache2/Translation.pod
Apache2 :: Clickpath :: Store. ű×
Apache2 :: Clickpath :: Store. ¼³¸í
Apache2 :: Clickpath :: Store Module Apache2 :: ClickPath ¼¼¼ÇÀ» »ç¿ëÇÏ¿© Á¤º¸¸¦ ÀúÀåÇÒ ¼ö ÀÖ½À´Ï´Ù. Apache2 :: ClickPath :: Store ModuleÀº Apache2 :: ClickPath Perl_module "... / mod_perl.so"PerlloadModule Apache2 :: Clickpath :: Store ClickPathOrectory "Some_Directory"ClickPathStorePath "/ URI"ClickPathStoreRetimeout 300 ClickPathStoreCleAnupInterval 60Apache2 :: ClickPath :: Store ¹× Apache2 :: ClickPath :: StoreClient´Â Apache2 :: Session¿¡ ÀÓÀÇÀÇ Á¤º¸¸¦ ÀúÀåÇϵµ·Ï ClickPath¿Í ÇÔ²² »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. Á¤º¸ ÀÚü´Â À¥ ¼¹ö¿¡ ÀúÀåµÇ°í HTTP¸¦ ÅëÇØ ¾×¼¼½ºµË´Ï´Ù. apache2 :: clickpath :: store´Â ¼¹ö Ãø°ú apache2 :: clickpath :: StoreClient Ŭ¶óÀ̾ðÆ® Ãø¸éÀ» ±¸ÇöÇÕ´Ï´Ù. ½Ã½ºÅÛÀº À¥ ¼¹ö Ŭ·¯½ºÅÍ¿Í ´ÜÀÏ À¥ ¼¹ö¿¡ ´ëÇØ ÀÛµ¿Çϵµ·Ï ¼³°èµÇ¾ú½À´Ï´Ù. Apache2 :: ClickPath¸¦ »ç¿ëÇÏ¿© N ½Ã½ºÅÛÀ¸·Î ±¸¼ºµÈ Ŭ·¯½ºÅÍ°¡ÀÖ´Â °æ¿ì ¼¼¼Ç ½Äº°ÀÚ¸¦ Á¦°øÇÕ´Ï´Ù. ±×·± ´ÙÀ½ °¢ À¥ ¼¹ö´Â µ¿ÀÏÇÑ ¼¹ö¿¡¼ ½ÇÇàÁßÀÎ ÀÚü Á¤º¸ ÀúÀå¼Ò¸¦ °ü¸®Çϰųª ¸ðµç ¼¹ö°¡ ´ÜÀÏ ¶Ç´Â ¸î °¡Áö Àü¿ë Á¤º¸ ÀúÀå¼Ò¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. Á¤º¸ ÀúÀå¼Ò´Â ´Ü¼øÈ÷ ´Ù¸¥ À¥ ¼¹ö ¶Ç´Â À» ½ÇÇàÇÕ´Ï´Ù. apache2 :: clickpath :: store.here °¢ À¥ ¼¹ö´Â ¸Å¿ì ÀÚü Á¤º¸ ÀúÀå¼Ò¸¦ °ü¸®ÇÕ´Ï´Ù : + ---------------- --------- + | + ---------------- + | | | Ŭ·¯½ºÅÍ | | | | | | | | + ------------- + | | ¼¹öÀÇ ÀÚü¿¡ ¾×¼¼½ºÇϽʽÿÀ | | | ¼¹ö 1 || | Á¤º¸ ÀúÀå¼Ò | | | || | | | | * -------- + | | | STORECLIENT || | | | * -------- + | | | .............. || | | | | || | ¿Ü±¹ + ------> | Á¤º¸ ÀúÀå¼Ò || | Á¤º¸ ÀúÀå¼Ò | | || | | + ------------- + | | | | | | ... | | | | | | + ------------- + | | | | ¼¹ö n || | | | .............. || | | | || | + -------> | Á¤º¸ ÀúÀå¼Ò || | | | | || | | | + ------------- + | | | + ---------------- + | + ----------------------- + +´Â Áß¾Ó ÁýÁᫎ Á¤º¸ ÀúÀå¼ÒÀÔ´Ï´Ù. ¿©±â¼´Â and.compache2 :: clickpath¿Í apache2 :: clickpath :: StoreClient + --------------- + | Ŭ·¯½ºÅÍ | ±×¸®°í ¿©±â | | apache2 :: clickpath :: Store | + ------------- + | + ------------ + | | ¼¹ö 1 || | | | | || Á¤º¸ ÀúÀå¼Ò | | | | * ------------------------> | Á¤º¸ | | | || ¾×¼¼½º | | | + ------------- + | + --------------> | »óÁ¡ | | | | | | | ... | | | | | | | + ------------ + | + ------------- + | | | | ¼¹ö n || | | | || | | | * -------- + | | || | + ------------- + | + ---------------- + ÇÁ·ÎÅäÄÝ ÀúÀå¼Ò´Â Á¤º¸ Ç׸ñÀ» °¡Á®¿À°í ¼³Á¤Çϱâ À§ÇØ °£´ÜÇÑ HTTP Çü½Ä ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÕ´Ï´Ù. GET ¶Ç´Â POST ¿äûÀÌ »ç¿ëµÇ´ÂÁö ¿©ºÎ´Â Áß¿äÇÏÁö ¾Ê½À´Ï´Ù. µ¥ÀÌÅÍ´Â ¸ÖƼ ÆÄÆ® / Æû µ¥ÀÌÅÍ ¶Ç´Â Application / X-WWW-Form-Urlencoded¿¡¼ Çã¿ëµË´Ï´Ù. ´ÙÀ½ CGI-ÆĶó¹ÌÅÍ µ¥ÀÌÅÍ°¡ µ¥ÀÌÅÍ¿¡ ¾×¼¼½ºÇÏ´Â ¹æ¹ýÀ» Á¦¾îÇÕ´Ï´Ù. ACANÀº µ¥ÀÌÅ͸¦ Àаųª ±â·ÏÇÒÁö ¿©ºÎ¸¦ °¡Á® ¿À°Å³ª ¼³Á¤ÇÏ°í Á¤ÀÇÇÕ´Ï´Ù. ¼¼¼Ç ½Äº°ÀÚÀÔ´Ï´Ù. ¸ðµç µ¥ÀÌÅÍ´Â ¼¼¼Ç ÁöÇâ ¹æ½ÄÀ¸·Î ÀúÀåµË´Ï´Ù. ÀϹÝÀûÀ¸·Î ÀÌ°ÍÀº Apache2 :: ClickPath°¡ »ý¼º ÇÑ ¼¼¼ÇÀÌÁö¸¸ ¿øÄ¢ÀûÀ¸·Î ½½·¡½Ã (/)°¡ Æ÷ÇÔµÇÁö ¾ÊÀº ¹®ÀÚ¿ ÀÏ ¼ö ÀÖ½À´Ï´Ù. Çؽà ±âÈ£ (#)·Î ½ÃÀÛÇÏ¸é ¾ÈµË´Ï´Ù (#). KWITHIN ¼¼¼Ç µ¥ÀÌÅÍ´Â Å°¸¦ ÅëÇØ ¾×¼¼½ºµË´Ï´Ù. Å°´Â PerlÀÇ W Á¤±Ô Ç¥Çö½Ä ÀÏÄ¡ÇÏ´Â ¸ðµç ¹®ÀÚ ¹®ÀÚ¿ÀÔ´Ï´Ù. ƯÁ¤ µ¥ÀÌÅÍ Ç׸ñÀº ¼¼¼ÇÀÇ Á¶ÇÕÀ¸·Î ½Äº°µÇ°í key.vthis ¸Å°³ º¯¼ö´Â A°¡ ¼³Á¤µÈ °æ¿ì¿¡¸¸ À¯È¿ÇÕ´Ï´Ù. ±×°ÍÀº ÀÛ¼º µÉ ½ÇÁ¦ µ¥ÀÌÅÍ°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù .Normally Store´Â HTTP »óÅ ÄÚµå 200 (OK)À¸·Î ¿äû¿¡ ÀÀ´äÇÕ´Ï´Ù. Àбâ ÀÛ¾÷ÀÇ °æ¿ì ÀÀ´ä º»¹®Àº µ¥ÀÌÅÍ Ç׸ñ ¸¸ Æ÷ÇÔÇÕ´Ï´Ù. HTTP Content-TypeÀº ÀÀ¿ë ÇÁ·Î±×·¥ / ¿ÁÅÝ ½ºÆ®¸²À¸·Î ¼³Á¤µË´Ï´Ù. ¾²±â ÀÛ¾÷ÀÇ °æ¿ì ¹®ÀÚ¿ ok°¡ ÅؽºÆ® / plain.IF·Î ¼³Á¤µÈ ÄÜÅÙÃ÷ Çü½ÄÀ¸·Î ¼³Á¤µÈ ¹®ÀÚ¿ÀÌ ¹ÝȯµË´Ï´Ù. ¹º°¡ À߸ø µÊ HTTP »óÅ ÄÚµå·Î Ç¥½ÃµË´Ï´Ù. ÀúÀå¼Ò´Â ´ÙÀ½ Äڵ带 ¹ÝȯÇÕ´Ï´Ù. 500 Server Errorthis ±¸¼º ¿À·ù¸¦ ³ªÅ¸³À´Ï´Ù. ¾î¼¸é µ¥ÀÌÅÍ µð·ºÅ丮°¡ Á¸ÀçÇÏÁö ¾Ê°Å³ª ¾²±â °¡´ÉÇÏÁö ¾Ê½À´Ï´Ù .400 À߸øµÈ requestan À߸øµÈ Å° ¶Ç´Â ¼¼¼Ç ½Äº°ÀÚ°¡ »ç¿ëµÇ¾ú½À´Ï´Ù .404 ¼¼¼Ç°ú Å°ÀÇ Á¶ÇÕÀ¸·Î ½Äº° µÈ µ¥ÀÌÅÍ Ç׸ñÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù. Ç׸ñÀÌ ÇÑ ¹ø Á¸ÀçÇßÀ¸¸é ½Ã°£ ÃÊ°ú¿¡ ÀÇÇØ Ä¥ ¼ö ÀÖ¾úÀ» °ÍÀÔ´Ï´Ù. ¡Ü Perl ¿ä±¸ »çÇ× : ¡¤ Perl.
Apache2 :: Clickpath :: Store. °ü·Ã ¼ÒÇÁÆ®¿þ¾î