Apache2 :: DebugFilter.

Apache2 :: DebugFilter´Â mod_perl ¹× ³×ÀÌƼºê Apache2 ÇÊÅ͸¦ µð¹ö±ëÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

Apache2 :: DebugFilter. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Philip M. Gollucci
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~pgollucci/mod_perl-2.0.3/docs/api/ModPerl/MM.pod

Apache2 :: DebugFilter. ű×


Apache2 :: DebugFilter. ¼³¸í

Apache2 :: DebugFilter´Â mod_perl ¹× ³×ÀÌƼºê Apache2 ÇÊÅ͸¦ µð¹ö±ëÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Apache2 :: DebugFilter´Â mod_perl ¹× ³×ÀÌƼºê Apache2 ÇÊÅ͸¦ µð¹ö±ëÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ½Ä ³ëÇÁ # httpd.conf # --------- ÆÞ¸ð ¸ðµâ Apache2 :: DebugFilter # ¿¬°á ½º´©ÇÎ (¸ðµç °Í) PerlinputFilterHandler Apache2 :: DebugFilter :: SNOOP_Connection PerlOutputFilterHandler Apache2 :: DebugFilter :: Snoop_Connection # HTTP ¿äû ½º´©ÇÎ (HTTP ¿äû º»¹® ¸¸) <À§Ä¡ foo/> PerlinputFilterHandler Apache2 :: DebugFilter :: Snoop_Request PerlutputFilterHandler Apache2 :: DebugFilter :: Snoop_request Çڵ鷯 # - ---------- Apache2 :: DebugFilter; # BB¸¦ BUCKET_TYPE => µ¥ÀÌÅÍ ½Ö ¹è¿­·Î º¯È¯ MY $ RA_DATA = APACHE2 :: DEBUGFILTER :: BB_DUMP ($ BB); while (my ($ btype, $ data) = splice @data, 0, 2) {print "$ btype => $ datan"; } # ²Ï Æ÷¸Ë µÈ BBÀÇ ÄÜÅÙÃ÷¸¦ ¿øÇÏ´Â BB_DUMP ($ bb, * stderr)ÀÇ ÆÄÀÏ Çڵ鿡 ´ýÇÁÇÕ´Ï´Ù. ÇÊÅÍ handlerssnoop_connection () SNOOP_CONNECTION () ÇÊÅÍ Çڵ鷯 Çڵ鷯 Çڵ鷯 ½º´©ÇÎ ¿äû ¹× ÀÀ´ä µ¥ÀÌÅÍ È帧. ¿¹¸¦ µé¾î, HTTP ÇÁ·ÎÅäÄÝ ¿äûÀÌ ÇÊÅ͸µ µÈ °æ¿ì ¿äû ¹× ÀÀ´äÀÇ º»¹®°ú ¿äû º»¹®À» º¸·Á¸é ÀÀ´ä 󸮱Ⱑ ¼ÒºñÇؾßÇÕ´Ï´Ù. µ¿ÀÏÇÑ Çڵ鷯°¡ ÀÔ·Â ¹× Ãâ·Â ÇÊÅ͸µ. ±×°ÍÀº ³»ºÎÀûÀ¸·Î ¾î¶² Á¾·ùÀÇ ½ºÆ®¸²À» ÀÛµ¿ÇÏ´ÂÁö ¹ÛÀ¸·Î ÀÛµ¿ÇÕ´Ï´Ù. ÀÔ·Â ½º´©¾î¸¦ ±¸¼ºÇÏ·Á¸é httpd.confÀÇ ÃÖ»óÀ§ ¼öÁØ ¼­¹ö ¶Ç´Â °¡»ó È£½ºÆ® ±¸¼º¿¡ Ãß°¡ÇϽʽÿÀ. PerlinputFilterHandler Apache2 :: DebugFilter :: Snoop_ConnectionTO Snoop ÀÀ´ä Ãâ·Â, PerlOutputFilterHandler Apache2 :: DebugFilter :: Snoop_ConnectionBoth´Â µ¿½Ã¿¡ ±¸¼º ÇÒ ¼ö ÀÖ½À´Ï´Ù. Ãâ·Â ÇÊÅÍ MyApache2 :: ÇÊÅÍ :: Ãâ·ÂÀÌ ¼öÇà ÇÑ ÈÄ ½º´©Ä¿ ÇÊÅ͸¦ ³ÖÀ¸·Á¸é : PerlOutputFilterHandler MyApache2 :: ÇÊÅÍ :: Ãâ·Â PerlOutputFilterHandler Apache2 :: SNOOP_CONNECTIONON ¹Ý´ë·Î ÀÔ·Â ÇÊÅÍ°¡ ¹«¾ùÀÎÁö, SNOPPACHE2 :: IMATER :: INPUTION : PERLINPOTFILTERHANDLER APACHE2 :: DebugFilter :: Snoop_Connection PerloThach2 :: Filter :: InputThis´Â ´ÙÀ½°ú °°½À´Ï´Ù. snoop_connectionÀº ¸ÕÀú È£ÃâµÇ¸ç Áï½Ã myapache2 :: filter :: µ¥ÀÌÅÍ ÀÔ·Â ÇÊÅ͸¦ ÀÔ·ÂÇϽʽÿÀ. ÈÄÀÚ°¡ ¹ÝȯµÇ¸é snoop_connectionÀº http ¿äû ¹× ÀÀ´ä ±â°ü¿¡¼­¸¸ SNOOP_REQUEST () ÇÊÅÍ Çڵ鷯 ½º´©ÇÎÀ» ¼öÇàÇÕ´Ï´Ù. ±×·¸Áö ¾ÊÀ¸¸é snoop_connection ()°ú À¯»çÇÕ´Ï´Ù. ÀϹÝÀûÀ¸·Î ƯÁ¤ ¿¡ ´ëÇØ ±¸¼ºµË´Ï´Ù. ¿¹ : perlinputFilterHandler apache2 :: debugfilter :: snoop_request perloutputFilterHandler Apache2 :: snoop_request ¿ä±¸ »çÇ× : ¡¤ Perl.


Apache2 :: DebugFilter. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

ÇعÎ

LIBBLINGE ÆÐÅ°Áö¿¡´Â GTK ¿ë ¸Å·ÂÀûÀÎ »ç¿ëÀÚ ÀÎÅÍÆäÀ̽º À§Á¬ÀÌ µé¾î ÀÖ½À´Ï´Ù. ...

42

´Ù¿î·Îµå