CSS ã JavaScript ãã¡ã¤ã«ãªã©ã gzip å§ç¸®ãã¦è»¢ééã®åæ¸ã Web ãµã¤ã表示é度ã®åä¸ãå®ç¾ããæ¹æ³ã解説ãæ¢å Web ãµã¤ãã®ã½ã¼ã¹ã«ã¯ä¸åæãå ããªãæ¹æ³ã§ã¾ã¨ãã¦ãã¾ãããã¾ãã§ãã£ãã·ã¥é¢é£ã®è¨è¿°ãããã ããã1ãã¤ãã®ç¡é§ãããããããã ãã¨ããé£èªåãããã¨ããªãå¥ã«ããã°ãããã§ããã©ãCSS ã JavaScript ãã¡ã¤ã«ã®æ¹è¡ãã¹ãã¼ã¹ãåé¤ããã ãã§ãã¡ã¤ã«å®¹éå§ç¸®ãèªã¿è¾¼ã¿éã¼ãçãªãã¨ãã人ãããã®ã§ä»ããã§ããæ¸ãã¦ã¿ã¾ãããã§ã«è²ã ãªã¨ããã§æ¸ããã¦ãã®ã§ãã¶ãã®ã¯æ¿ç¥ã®ä¸ã§ã æ¹è¡ãç¡é§ãªã¹ãã¼ã¹ãªã©ãåé¤ãããã¨èªä½ãæªãã¨è¨ã£ã¦ãããã§ã¯ããã¾ããã®ã§ãã®è¾ºã¯èª¤è§£ãªãããã«ãé¡ããã¾ãããã ãgzip 使ã£ã¦å§ç¸®ããã®ã«æ¯ã¹ãããæ¹è¡åé¤ãã¦åãããã¡ã¤ã«ãµã¤ãºãªãã¦å¾®ã ãããã®ã§ãããã¡ããã両æ¹ããã°æ大éãã¡ã¤ã«ãµã¤
ç¾ç¶ã®æ¸¬å®ï¼ãã³ããã¼ã¯ï¼ã¨çµæã®çç¼ç¹ ããããã¯Apacheã«çç®ãã¦ãããã©ã¼ãã³ã¹ã»ãã¥ã¼ãã³ã°ã®ããã®æºåãè¡ãããã¥ã¼ãã³ã°ããã«å½ãã£ã¦ãã¾ãç¾ç¶ãååã«åæããå ·ä½çãªç®æ¨ãå®ãããã¨ããå§ããããç®æ¨ãã©ãã ãå ·ä½åãããã¯ã¨ãããã¨ãã¦ããç¾ç¶ãæ°å¤çã«ç¥ããããã«ãæ¼ ç¶ã¨ãé ãé ããã¨é¨ãã§ãã¦ãä»æ¹ããªãã ç¾ç¶ãæ°å¤çã«ã¨ãããã«ã¯ãã¼ã«ãå¿ è¦ã¨ãªãããããããã³ããã¼ã¯ã»ãã¼ã«ã ãApacheã«ã¯ãæ¨æºã§ãabãï¼Apache Benchï¼ã¨ãããã¼ã«ãä»å±ãã¦ãããabã®æ§æã¯ã
å ¬é: 2011å¹´8æ30æ¥1æ45åé Apacheã®DoSã®èå¼±æ§ã話é¡ã«ãªã£ã¦ãã¾ããã HTTP/1.1ã§ã¯ãHTTPè¦æ±ãããã§Rangeãã£ã¼ã«ããæå®ããã¨ãã³ã³ãã³ãã®å ¨ã¦ã§ã¯ãªãä¸é¨åã ããè¦æ±ãããã¨ãã§ãã¾ãããã¨ãã°ã以ä¸ã®ããã«æå®ããã¨ãã¼ã¿ã®å é ã®1ãã¤ãã ããåãåããã¨ãæå¾ ããã¾ãã â»ããã¯ä»¥åã«ãæ¸ããã®ã§ããã0-0ã§1ãã¤ãåãåãã¨ããã®ã¯å¾®å¦ã«ç´æçã§ã¯ãªãæãããã¾ããããããæ£ããæåã§ãã Webãµã¼ããRangeã解éããå ´åãã¹ãã¼ã¿ã¹ã³ã¼ã 206 (Partial Content) ã§å¿çãã¤ã¤ãæå®ãããé¨åã ããè¿ãã¾ãã ã¨ãããã ããªãRangeããªãå ´åã¨ãµã¼ãã®è² è·ã¯ã»ã¨ãã©å¤ãããªãã®ã§ãããå®ã¯1åã®ãªã¯ã¨ã¹ãã§è¤æ°ã®ç¯å²ãæå®ãããã¨ãã§ãã¾ãããã®å ´åãå¿ç㯠Content-Type: multipart/
Apacheã®èå¼±æ§(CVE-2011-3192)ããããApache killerã話é¡ã«ãªã£ã¦ãã¾ããããã®è å¨ã«ã¤ãã¦ã¯ä¸é¨èª¤è§£ãããããã§ãã 以ä¸ã¯ãé常ã«è å¨ã¨ããå ±åã®ä¾ã§ãã ä¸æ¹ä»åã®ã¯ããã»ã¹ã®è¥å¤§åãä¼´ãã®ã§ãå®ã¡ã¢ãªæ¶è²»ãã¦æ´ã«ã¹ã¯ããã使ãå°½ããã¦OSæ¯æ¿éã«ãªã£ããããLinuxã¨ãã®å ´åã¯OOM Killerçºåã¨ãä»ã®ããã»ã¹ãå ´åã«ãã£ã¦ã¯OSãå·»ãè¾¼ãã§éã£ã¦ãã¾ãã¾ãã CVE-2011-3192 Range header DoS vulnerability Apache HTTPD 1.3/2.xããå¼ç¨ 以ä¸ã¯ãããã»ã©è å¨ã§ãªãã£ãã¨ããå ±åã®ä¾ã§ãã pooh.gr.jp ã¯çµæ§é ä¸ã ã£ãã®ã§ 60 並åã§ãã£ã¨ CPU idle 30% ã¾ã§æ¸ãããã Apache Killer (CVE-2011-3192) 対ç for CentOS 5
nginxã¯ç¡æã§å©ç¨ã§ãããªã¼ãã³ã½ã¼ã¹ã®ãã¤ããã©ã¼ãã³ã¹HTTPãµã¼ã Nginxã¯C10Kåé¡ã« åãçµãã¹ãéçºãããä¸æ¡ãã®ãµã¼ãã®ãã¡ã®ä¸ã¤ã§ããå¾æ¥ã®ãµã¼ãã¨ã¯ç°ãªããNginxã¯ãªã¯ã¨ã¹ãã®å¦çãã¹ã¬ããã«ä¾åãã¦ãã¾ããããã®ä»£ã ãã«ãã£ã¨ã¹ã±ã¼ã©ãã«ãªï¼éåæã®ï¼ã¤ãã³ãé§åã¢ã¼ããã¯ãã£ã使ç¨ãã¦ãã¾ãããã®ã¢ã¼ããã¯ãã£ã¯ã¡ã¢ãªä½¿ç¨éãå°ãªãã ãã§ãªããæãéè¦ãªäº ã¨ãã¦ã稼åæã®ã¡ã¢ãªä½¿ç¨éãäºæ¸¬å¯è½ã§ããã¨ãããã¨ã§ãã NginxJa ( æ¥æ¬èªWiki ) â»C10Kåé¡ã¯ãWeb2.0ã®å ã«ããC10Kåé¡ â ï¼ ITã端çãªèª¬æã示ãã¦ãã nginxã£ã¦ã®ã使ã£ã¦ã¿ãã ãããªããã§nginxã£ã¦ã®ãéãã¦ã¤ã«ãã¦ãã¨ã®ãã¨ãªã®ã§ãã¨ããããå°å ¥ã ããã¦ã¿ããã¨ãããã¨ã§ãã©ã¤ãæçµçã«ã¯ãç»åãCSSãªã©ã®éçãã¡ã¤ã«ãnginxãè¿ããåçé¨
mod_sendmailã¯ã¡ã¼ã«éä¿¡ï¼sendmailï¼æ©è½ãApacheã¢ã¸ã¥ã¼ã«ã¨ãã¦æä¾ããã©ã¤ãã©ãªã mod_sendmailã¯Apacheç¨ã®ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ãWebãµã¼ãã¹ãéçºããã«ã¯å¹¾ã¤ãã®æè¡ãçµã¿åãããå¿ è¦ããããæ±ããããã§è¨ãã¨ãHTML/JavaScript/CSS/ãµã¼ããµã¤ãã®è¨èªã¯åé¡ãªãã ãããè¥å¹²é¢åã«ãªãã®ããã¼ã¿ãã¼ã¹ã¨ã¡ã¼ã«ã ã LDAPèªè¨¼ä¾ ã¡ã¼ã«ã¯ç¹ã«é¢åããããã¦ã¼ã¶ç»é²ãªã©ã§ãã使ãããããã¼ã¿ãã¼ã¹ã«ãã©ã³ã¶ã¯ã·ã§ã³ããã¤ã¤ã¡ã¼ã«ãéä¿¡ãã¦ç¡äºéä¿¡ã§ããã°ã³ããããããããããã³ã«ãéãé¨åã¯å®è£ ããã¥ãããªããã ãmod_sendmailã¯ãã®é¢åãã解æ¶ãã¦ããããã ã mod_sendmailã¯ã¡ã¼ã«éä¿¡ã«RESTfulãªã¤ã³ã¿ãã§ã¼ã¹ãæä¾ãã¦ãããApacheã¢ã¸ã¥ã¼ã«ã ããã®æã®ã©ã¤ãã©ãªã¯å ã ãã£ãã®ã§ã¯ã
Apacheã§X-Sendfileãå©ç¨ã§ããmod_xsendfileãPHPã¨é£æºãã¦ä½¿ã£ã¦ã¿ã¾ããã PHPã§èªè¨¼ãã¦ããã許å¯ããã¦ã¼ã¶ã®ã¿ã«ãã¡ã¤ã«ãåºåãããã¨ããå¦çãå®è£ ããå ´åããã¡ã¤ã«ã¯document_rootå¤ã«é ç½®ãã¦ããã¦ãreadfile()ãfpassthru()ã§ãã¡ã¤ã«ãåºåããã¨ããææ³ãè¯ã使ãã¾ãã ãã®æ¹æ³ã§ãåé¡ç¡ãå ´åãå¤ãã®ã§ããã容éã®å¤§ãããã¡ã¤ã«ãåºåããéã¯æã£ããããªã¹ãã¼ããåºãªãæãããã¾ãã ãã®ãããªæã¯mod_xsendfileã使ã£ã¦ããã¡ã¤ã«åºåã®é¨åãApacheã«ä»»ãã¦ãã¾ãæ¹æ³ãæå¹ã§ãã ããã§ã¯2010/11/12æç¹ã®ææ°çã§ããmod_xsendfile 0.12ã対象ã¨ãã¦ãã¾ããã¾ãã¤ã³ã¹ãã¼ã«ç°å¢ã¯RHELãCentOSãæ³å®ãã¦ãã¾ãã mod_xsendfileã®ã¤ã³ã¹ãã¼ã« mod_xsen
Google ã® Page Speed ã® Apache module ç mod_pagespeed ãã¤ã³ã¹ãã¼ã«ãã¦ãã¡ãã£ã¨ã ãåããè¦ã¦ã¿ãã ã¤ã³ã¹ãã¼ã«ã¯ Ubuntu ã« deb ããã±ã¼ã¸ã§ã $ wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_amd64.deb # sudo dpkg -i mod-pagespeed-beta_current_amd64.debconfig ã¯ããã©ã«ãã§å ¥ããã®ãã®ã¾ã¾ã <IfModule pagespeed_module> SetOutputFilter MOD_PAGESPEED_OUTPUT_FILTER ModPagespeed on ModPagespeedUrlPrefix "http://localhost/mod_p
åã¨ã³ããªãpound 㨠apache ããã©ã³ã¹ãããã¥ã¼ãã³ã°ããå¿ è¦æ§ã«ã¤ãã¦ãã®ç¶ãã§ããApache2 ã®ãã¥ã¼ãã³ã°ã«ããé«è² è·ï¼å¤§éã¢ã¯ã»ã¹ï¼å¯¾çãèãã¦ã¿ã¾ãã ããã¾ã§ãã¦ãã£ã¨ãããããé«è² è·æã« apache2 ã®ããã»ã¹æ°ã足ãã¦ããªããéçã³ã³ãã³ãã®å¿çæéãé 延ãã¦ããã®ããï¼ã¨ãã仮説ãç«ã¦ããã¨ãã§ãã¾ãããå³è§£ããã¨ãããªæãã§ãã Apache2 ã¯ãã¡ãã worker MPM ã§åä½ããã¦ãã¾ããworker MPM ã£ã¦ãªããï¼ã¨ããæ¹ã¯ããã®ããã°ãèªãã§é ãã¦ããæ¹ã«ã¯ããã£ããããªããã¨æãã¾ãããhttp://httpd.apache.org/docs/2.0/mod/worker.htmlãããããèªãã¨è¯ãã§ãããã ãã®ãã«ãããã»ãã·ã³ã°ã¢ã¸ã¥ã¼ã« (MPM) ã¯ããã«ãã¹ã¬ããã¨ãã«ãããã»ã¹ã®ãã¤ããªããåãµã¼ãã å®è£ ãã¦
Apacheã®ãã¼ã¸ã§ã³2.2.12以éã§ã¯ãSNIï¼Server Name Indicationï¼ã¨ãããSSLãããã³ã«ã«å¯¾ããæ¡å¼µæ©è½ããµãã¼ãããã¦ãããããååãã¼ã¹ã®HTTPãµã¤ããè¨å®ããå ´åã¨åãããã«ååãã¼ã¹ã®HTTPSãµã¤ããè¨å®ãããã¨ãå¯è½ã«ãªã£ã¦ãããæ¬è¨äºã§ã¯ãApacheã®ãã®æ©è½ã«ã¤ãã¦ç´¹ä»ããã Apache Webãµã¼ãããã¼ã¸ã§ã³ã¢ããããæçãã¦ããã«ä¼´ããæ°æ©è½ã®è¿½å ããã°ã®ä¿®æ£ãè¡ããã¦ãã¦ãããããã¦ããã¼ã¸ã§ã³2.2.12ã§è¿½å ãããæ©è½ã®ãã¡ãæãéè¦ãªãã®ã¯ãããããåä¸IPã¢ãã¬ã¹ä¸ã§è¤æ°ã®SSLãµã¤ããéç¨ã§ããããã«ããã¨ãããé·ããæã¡æã¾ãã¦ããæ©è½ã ããã ããã¾ã§ã¯ãç¹å®ã®IPã¢ãã¬ã¹ã«å¯¾ãã¦SSL対å¿ã®Webãµã¤ããå²ãå½ã¦ãå ´åããã®ãµã¤ã1ã¤ããSSL対å¿ã®Webãµã¤ããéç¨ãããã¨ãã§ããªãã£ããã¤ã¾ããIPã¢ãã¬
id:HolyGrail (å æéç æ°) ã®ãã¯ã¦ãªããã¯ãã¼ã¯ãéã件ã«ã¤ãã¦ãPage Detailerã¨ãããã¼ã«ã使ã£ã¦èª¿ã¹ã¦ã¿ã - id:HolyGrailã¨id:HoryGrailã®åºå¥ãã¤ããªãæ¥è¨ãã¨ãè¦ã¦ã¦ãè²ã åé¡ç¹ãææããã¦ã¦ããããã¾ãããã ãã¼ã¨ãè²ã ã¨æãã¤ã¤ãYSlow ã¯ãæç¨ãªãã¼ã«ã§ããåé¢ãæ¸ç¹åºæºãå¿ ãããå ¨ã¦ã®ãµã¤ãã«é©åããªãã¨ããããããããªè¨ã£ã¦ãã¾ãã° Yahoo! Inc. åºæºãããã®ã§ãéµåã¿ã«ãéããã®ãã©ãããªã¼ã¨ãæã£ã¦ãã ã§ãæ°ã«ãªã£ãã®ã¯ 13. Configure ETags ETagsã£ã¦ããã®ã¯ãµã¼ãä¸ã®ãã¡ã¤ã«ã¨ãã©ã¦ã¶ã®ãã£ãã·ã¥ãä¸è´ãã¦ãããã©ãããæ¤è¨¼ããããã®ãã®ãªã®ã§ãããæ£ããå©ç¨ã§ãã¦ããªãã®ã§ããã°ãETagsã¯ç¡é§ãªã ããªã®ã§åãé¤ãã¦ããã¾ããããã¨ããé ç®ã§ãã http://s.hat
jboss.org: community driven JBoss Web Projectããã³JBoss AS Clustering Projectããèå³æ·±ãããã¸ã§ã¯ããçºè¡¨ãããããã®åãmod_clusterã ãç¾å¨ã®ã¨ãã1.0.0.Beta1ãå ¬éããã¦ãããååã®ã¨ããApache HTTP Serverã§åä½ããã¢ã¸ã¥ã¼ã«ã§ãèå¾ã§åä½ããTomcatãJBoss WebãJBoss ASãªã©ã®ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¸ã®ã³ãã¯ã·ã§ã³ãæ å½ããããã¼ããã©ã³ã·ã³ã°ã®æ©è½ã¨ããã¯ã·ã®æ©è½ãåããmod_jkã¨mod_proxyã®åæ¹ã®æ©è½ããã£ããããªä»çµã¿ã«ãªã£ã¦ããã mod_jkãmod_proxyã¨ã®å¤§ããªéãã¯ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ãããHTTPãµã¼ãã¸ã®ããã¯éä¿¡ããµãã¼ããã¦ããã¨ããã«ãããHTTPã¡ã½ããã§ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãããmod_clusterã¢ã¸
ä»ä½ã£ã¦ãããµã¼ãã¹ã¯ãApacheã®mod_proxy_balancerã使ã£ã¦ãã¼ããã©ã³ã·ã³ã°ãã¦ãããããããããã¯ã¨ã³ãã®ãµã¼ãã¹ãµã¼ããä¸æ¦è½ã¨ãã¦ãã復帰ãããã¨ãã³ãã¯ã·ã§ã³ããã°ããã¤ãªãããªãã¨ããåé¡ã«æ©ãã§ããã1åãããæ¾ç½®ããã¨ã¤ãªããããã«ãªããã ãã©ã1åã¯çµæ§é·ãã ããããããªãã®ã§ã½ã¼ã¹ãèªãã§ã¿ãã¨ãããmod_proxy_balancer.cãçºããæããap_proxy_retry_workerã¨ããé¢æ°ãã³ãã¯ã·ã§ã³ã®å確ç«ããã¦ããã®ã§ã¯ãªããã¨æãããããããé¢æ°ã®å®ç¾©ãçºãã¦ã¿ãã¨ãç¾å¨æå»ãã¨ã©ã¼çºçæå»ã¨worker->retryã足ããæ°åããã大ãããã°workerã®statusããPROXY_WORKER_IN_ERRORã®ããããä¸ããã¦ããã ãã§ãã³ãã¯ã·ã§ã³ã®ç¢ºç«ãã©ãã®ããã®ãªãã¦é¢æ°ã¯ã¾ã£ããå¼ã°ãã¦ãªããããã§ãªã«ã
Ads Profile æ ªå¼ä¼ç¤¾ã§ããã¾ã³ã³ãã¥ã¼ã¿ mixi technorati Links SNSPing! TechCamp Categories GeneralSuperGTãµã¼ãé¢é£ã¢ãã¤ã«ä¼ç¤¾é¢é£éçº Archive 2008/10 2008/09 2008/08 2008/07 Statistics meromero park Search DNSãµã¼ãã®æ¬¡ã¯Webãµã¼ãã¨ãã¦Apacheãã¤ã³ã¹ãã¼ã«ãã¾ãã ããã¾ã§ã¯ä»äºä¸ã§ããã©ã¤ãã¼ãã§ãApache1.3ç³»åã使ã£ã¦ãã¾ããããApache2.2.2ã«ããã¦ã¤ãã«ã¹ãã¼ãã«ãã©ã³ããéå§ããããã¨ããããä»å¾ã¯2.2ç³»åã使ãæ©ä¼ãå¢ãã¦ããã®ã§ã¯ãªãã§ããããã ãã®è¨äºã§ã¯ãFreeBSDã«Apache2.2ãã¤ã³ã¹ãã¼ã«ããæã«æ°ã¥ãããã¨ã¨ããã®ä»ã®æ©è½ã«ã¤ãã¦ã«ã³ã¿ã³ã«ã¾ã¨ãããã®ã§ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}