ä¸å®æéæ´æ°ããªãããåºåã表示ãã¦ãã¾ã
DSASéçºè ã®é¨å±:[è£è¶³è¨äº]Apache 2.0 ã® hook ä¸è¦§(apache module éçºäºåã ãã®3-3) ã¯ã¢ã¸ã¥ã¼ã«ãæ¸ãéã«ã©ãã«ããã¯ããããããã¨ããç¹ã§é常ã«åèã«ãªãã¾ãã ãï¼ãã¾ã ã«ãã¾ãã¡ Apache ããã©ã®ããã«å¼ã³åºããããå®æãããã¾ãããã²ãã£ã¨ãã¦ããã¯ã®å¼ã³åºãæ¹ã調ã¹ã㨠Apache ã®å¦çããã¼ã追ã£ã¦ãããããããªããï¼ã¨ããç¡è¬ãªææ¦ããã¦ã¿ã¾ããã 対象 åææ¡ä»¶ Apache ã®ã¢ã¸ã¥ã¼ã«ãæ¸ãããã¨ããã人; æä½é ap_hook_handler ããã¯ã使ã£ããã¨ããã人 調æ»å¯¾è±¡ Apache 2.2.3 ã®ã½ã¼ã¹*1 ãªãï¼ä»¥ä¸ã«è¨ããã½ã¼ã¹ã¯ï¼å®éã®ã½ã¼ã¹ã®å¼ç¨ã§ã¯ãªãï¼ããã«ããã¯ãå¼ã³åºãã¦ããé¨åã®ã¿ã®æç²ã¨ãªãã¾ããã¾ããã¸ãã¯ãæãªããªãç¨åº¦ã«æ¸ãæããé¨åãããã¾ããããã«ã¯å¼æ°ãæ»ãå¤ã«ã¤ãã¦
ããã¾ã§ãã¡ãã»ã㨠ClearSilver ã¨ããååãèãããã¨ããã£ããã§ããï¼YAPC::Asia ã§ã® ikebe ããã®çºè¡¨ã§ããã«èå³ãæã¡ã¾ããã mod_livedoor_page.so http://www.livedoor.com/ use ClearSilver Template engine. top-page is not changed so frequently. top-page has simple data structure only. so we use C for top-page. Inside Livedoor 2006-2007 - PDFã¸ã®ãªã³ã¯ãªã®ã§æ³¨æ èå³ãæã¡ã¾ããã¨ãããï¼ãã¼ããããï¼âä½ãï¼ï¼ã¨ãªã£ãã®ã§ï¼èªåã§ã ClearSilver ã使ã£ã Apache ã¢ã¸ã¥ã¼ã«ãæ¸ãã¦ã¿ã¾ãããã½ã¼ã¹ã¯ãã¡ãã å®ã¯ã°ã°ã£ãã
2. Apache ã¢ã¸ã¥ã¼ã«ã¨ã¯ï¼ Apache Web ãµã¼ãã®æ©è½ã追å ãåé¤ããä»çµã¿ æ¨æºã§ä½¿ããã¦ããå¤ãã®æ©è½ãã¢ã¸ã¥ã¼ã« ã¨ãã¦å®è£ ããã¦ãã æä½éå¿ è¦ãªæ©è½ã¯ Apache Core, Apache API ã¨ãã¦å®è£
ååã®è¨äºã§ã¯ï¼apxs ãçæãããã³ãã¬ã¼ãããã®ã¾ã¾åããã¦ã¿ã¾ãããï¼ä»åº¦ã¯å°ãã³ã¼ããæ¸ãã¦ã¿ã¾ãããï¼åã handler ãä½ã£ã¦ãé¢ç½ããªãã®ã§ï¼ã¢ã¯ã»ã¹å¶å¾¡ãããã¢ã¸ã¥ã¼ã«ã«ãã¦ã¿ã¾ãï¼Apache ã®ã¢ã¯ã»ã¹å¶å¾¡ã¯2種é¡ãã£ã¦ï¼ä¸ã¤ã¯ã¦ã¼ã¶èªè¨¼ãç®çã¨ãããã®ã§ï¼mod_auth ã®ç·å±ãããã§ãï¼ããä¸ã¤ã¯ãªã¯ã¨ã¹ãã®å¥ã®å´é¢ï¼ä¾ãã°ã¯ã©ã¤ã¢ã³ãã®ã¢ãã¬ã¹ã«ãã£ã¦ã¢ã¯ã»ã¹ã許å¯ãããæå¦ããããããã®ã§ï¼æ¨æºã¢ã¸ã¥ã¼ã«ã§ã¯ mod_access ãããã«å½ããã¾ãï¼ãã¾ãè¤éãªãã¨ããã¦ã話ãè¦ãã«ãããªãã®ã§ï¼ä»åä½ãã¢ã¸ã¥ã¼ã«ã§ã¯ã©ã³ãã ã«ã¢ã¯ã»ã¹ã許å¯ãããæå¦ããããããã¨ã«ãã¾ãï¼ apxs -g -n denyrandomã¨ãã¦åºåãããã®ããã¼ã¹ã«ãã¦ãã¾ã)ï¼ 1 #include "httpd.h" 2 #include "http_config.h
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}