Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
h5ai larsjung.de Apacheã®ãã£ã¬ã¯ããªã¤ã³ããã¯ã¹ãããããªãä½ãã£ãè¯ãã§ãããh5aiã HTML5ã®æ©è½ã使ã£ã¦ãé常ã®å³æ°ãªããã£ã¬ã¯ããªã¤ã³ããã¯ã¹ãããªããã£ãè¯ããã¡ããã¨ãããã®ã§ãã ãã£ã¬ã¯ããªä¸è¦§ãã¢ã¤ã³ã³ãªãããã¤ãã¦ããªããªãã mod_headersã¨mod_autoindexã¨ããApacheã¢ã¸ã¥ã¼ã«ãå¿ç¨ãã¦ä½ããã¦ããããã§ããããããªãã¨ãåºæ¥ãã¨ã¯ç¥ãã¾ããã§ããã 表示æ¹æ³ãã¢ã¤ã³ã³ãã¼ã¹ã«å¤æ´ãããã¨ãå¯è½ã§ããããã¯ã¤ã«ãã¦ãã¾ããã ãµã¤ãã®ä¸¸ã¿ã帯ã³ãç©ä½ã«ã«ã¼ã½ã«ãããããã¨ãã¥ã¤ã¼ã³ã¨ä¼¸ã³ã¦ããªã¼ãã¥ã¼ã表示ãããã¾ã便å©ã§ãã åä½ãã¢ã¯ãã¡ã ãã¶ã¤ã³ã¯åºæ¬çã«HTML+CSSãªã®ã§ãããªã好ã¿ã«ã«ã¹ã¿ãã¤ãºãããã¨ãå¯è½ã Apacheã®å³æ°ãªããã¶ã¤ã³ãã¼ã¸ã¯å«ã ï¼ã¨ãããã¶ã¤ãã¼ããã¯è¦ãã¦ããã¨ãããã
Apache Nutch ã¯ãªã¼ãã³ã½ã¼ã¹ã® Web æ¤ç´¢ã¨ã³ã¸ã³ã ä»å¹´ã«ãªã£ã¦ãã¼ã¸ã§ã³ 1.0 ãåºã¦ãApache ã® TLP(ãããã¬ãã«ããã¸ã§ã¯ã) ã«ãªã£ããç¾å¨ææ°ã¯ v1.2ã Apache Nutch http://nutch.apache.org/ ä¹±æ´ã«è¨ãã¨ããæ¤ç´¢ã¨ã³ã¸ã³ Lucene ï¼å ¨ææ¤ç´¢ Solr ï¼ Web ã¯ãã¼ã©ã¼ï¼ã¹ã³ã¢ãªã³ã°(Page Rank)ï¼åæ£å®è¡ã®ä»çµã¿ãã Nutchã ã¡ãªã¿ã«æ¤ç´¢ã¤ã³ããã¯ã¹ãä½æï¼æ ¼ç´ããããã® mapper / reducer ããã³åæ£ãã¡ã¤ã«ã·ã¹ãã ã Nutch ãã spin out ããã®ã話é¡ã® Hadoopã ã®å²ãã«ã¯ç¥å度ãä½ãæ°ãããã®ã¯ãWeb æ¤ç´¢ã¨ã³ã¸ã³ãä½ãããã¨ããè¦æ±ãå°ãªãããï¼(ãµã¤ãå å ¨ææ¤ç´¢ãªã Solr ã§ãã) ãã©ã°ã¤ã³ã®çµã¿åãã㧠virtical sea
ã¡ã¢ã unicornã¯æ¬å®¶ãnginxãå§ãã¦ããã¨ããã£ã¦ãããªãã¼ã¹ãããã·ã¨ãã¦ä½¿ã£ã¦ããWebãµã¼ãã¯nginxã®ä¾ãå¤ãããã§ããã¨ã¯ãããæ £ããApacheã使ãããã¨ãããã§ã«Apacheã§åãã¦ããã®ãããã¨ãã®å ´åãApacheã ãã§ä½ã¨ããããã§ããã¨ããå ´åã®ä¾ã unicornå´ã¯æ®éã«è¨å®ããã ãUNIX domain socketã使ããæ°ãããªãã®ã§TCPã§ã rails_env = ENV['RAILS_ENV'] || 'production' worker_processes 3 preload_app true timeout 30 listen 8888, :tcp_nopush => true ã以ä¸ç¥ã Apacheå´ã®httpd.confï¼ã¨ãããdebianãªãsites-available/以ä¸ï¼ã¯ä»¥ä¸ã®ãããªæãã«ãªãã¾ããéçãã¡ã¤ã«
Irodori » JapaneseAnalyzer plugin (Nutch) ããããåèã«ãªãã¾ãã src/plugin/analysis-jp/src/java/org/apache/nutch/analysis/jp/JapaneseAnalyzer.java package org.apache.nutch.analysis.jp; // JDK imports import java.io.Reader; // Lucene imports import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.TokenStream; // Nutch imports import org.apache.nutch.analysis.NutchAnalyzer; /** * A sim
Nutch ã§ã¯ Jakarta POI ãç¨ãããã¼ã¶ãæ¨æºã§ç¨æããã¦ãããããç°¡åãªè¨å®ã ãã§ã¯ãã¼ã«ä¸ã«çºè¦ããã ExcelãWordãPowerPointãPDFã®ãã¡ã¤ã«ä¸ããæç« ãæ½åºãã¦ã¤ã³ããã·ã³ã°ã§ããããã«ãªãã¾ãã æ¥æ¬èªã®æç« ãæ½åºã§ããã®ã§ãSolrã«åãè¾¼ããã¨ã§æ¥æ¬èªã§ã®æ¤ç´¢ãã§ããããã«ãªãã¾ãã è¨å®ã¯ä»¥ä¸ã®2ã¤ã§ãã plugin ã®ã¤ã³ã¯ã«ã¼ã conf/nutch-site.xmlãç·¨é urlfilter ã®ä¿®æ£ conf/crawl-urlfilter.txtãç·¨é plugin ã®ã¤ã³ã¯ã«ã¼ã conf/nutch-site.xmlãç·¨éãã¦ExcelãWordãPowerPointãPDFã®ãã¼ã¶ãã©ã°ã¤ã³ã追å ãã¾ãã nutch-site.xmlã¯ã¤ã³ã¹ãã¼ã«æã¯ãã¡ã¤ã«ã¯ãããã®ã®ä¸èº«ã¯ç©ºã£ã½åç¶ãªã®ã§ ããã©ã«ãã®ã¾ã¾ã®å ´åã¯ãn
ãã£ã¦ã¿ãã Nutchã¯ã¦ã§ãã¹ãã¤ãã¼ã¨ãã¦ã®ã¯ãã¼ã«æ©è½ãæä¾ãã¦ãããå é¨ã«åæ£ãã¡ã¤ã«ã·ã¹ãã ããHadoopãæã£ã¦ãã®ã ããä»åã¯ããã¯ä½¿ããªãæ¹æ³(ã®ããã )ã - - - - 1. Nutchã<a href="http://hudson.zones.apache.org/hudson/job/Nutch-trunk/">ãã¦ã³ãã¼ã</a>ãã解åããã tar xzf apache-nutch-1.0.tar.gz 2. Solrã®è¨å®ãè¡ã Nutchã®ä¸ã«ã¯schema.xmlãªã©Solrãé£æºãã¦ä½¿ãããã®ãµã³ãã«ã®è¨å®ãã¡ã¤ã«ãå«ã¾ãã¦ãã¾ãã a. schema.xmlã®é ç½® apache-nutch-1.0/conf to directory apache-solr-1.3.0/example/solr/conf b. âcontentâãã£ã¼ã«ãã®è¨å®å¤
æè¡è©è«ç¤¾æ§ããç®æ¬å¾¡ç¤¼ ããã«ã¡ã¯ãåç°ã§ãã ç¾å¨Mapionã§ã¯Solr使ã£ã¦ã¾ãã詳ããã¯éå»ã®ã¨ã³ããªã¼ãåç §ã ã¤ã¼ãã¨ã§ãä»åº¦çºå£²ããããApache Solr å ¥éããç´¹ä»ãã¾ãã èè ã¯Solråå¼·ä¼ã§ããä¸è©±ã«ãªã£ã¦ãã¾ããæ ªå¼ä¼ç¤¾ãã³ã¦ã£ããã®é¢å£ãããæ ªå¼ä¼ç¤¾NTTãã¼ã¿ã®æ¦ç°ãããã¡ã§ãã ï¼ç®æ¬¡ï¼ Apache Solr å ¥é ãã Chapter1  ã¤ã³ãããã¯ã·ã§ã³ Chapter2  ã¹ãã¼ãã®è¨å® Chapter3  ã¤ã³ããã¯ã¹ã®ä½æ Chapter4  æ¤ç´¢ Chapter5  ã¯ã©ã¤ã¢ã³ãããã°ã©ãã³ã° Chapter6  ãã¼ã¿ã¤ã³ãã¼ããã³ãã© Chapter7  ãã«ãã³ã¢ Chapter8  åæ£æ¤ç´¢ Chapter9  ãµã¼ãã³ã³ãã¼ãã³ã Chapter10 å®è·µ! Solréç¨TIPS Appendix IÂ
WEBã³ã³ãã³ãé ä¿¡ã«Linuxã使ãã®ã¯ä¸è¬çã«ãªãã¾ããããCentOSãUbuntuãã¯ããã大æµã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ãä½ã¹ããã¯ãªãã·ã³ã§ãåããããªåæè¨å®ã«ãªã£ã¦ãã¾ãã ãã©ãã£ãã¯ã®ä¸éã§ããªã CPUãªã½ã¼ã¹ã®æ¯æ¸ã§ããªã HDDã®IOãé ãåé¡ã§ããªã ã³ã³ãã³ããéããªã(æ¥ç¶ã§ããªã) ã¨ããã±ã¼ã¹ã§ãè¦è½ã¨ããã¡ãªLinuxã®ãããã¯ã¼ã¯å¨ãã®ãã¥ã¼ãã³ã°ã«ã¤ãã¦ã§ãã iptablesé¢é£ iptablesã使ç¨ãã¦ããå ´åãä¸è¨ã®ãã©ã¡ã¼ã¿ã注æãã¦ä¸ããã /proc/sys/net/ipv4/ip_conntrack_max ip_conntrackã«è¨é²ã§ããæ大å¤ã§ãã65536ããããåæè¨å®ã«ãªã£ã¦ãããã¨æãã¾ããããã ã¨ãã±ããã®åããã¼ããããã«èµ·ãã¦ãã¾ãã¾ãã1ã³ãã¯ã·ã§ã³ãããç´350ãã¤ãæ¶è²»ããã®ã§ãå®è£ ããã¦ããã¡ã¢ãªã«å¿ãã¦
Apacheã®Filterã¢ã¸ã¥ã¼ã«ãä½ã£ã話ãããããid:c9katayamaã«æ å ±å ¬éããã¨è¨ãããã¾ã¾ã§ããã®ã§å ¬éãã¾ãã Cè¨èªã®åå¼·ãããããªãApache2.xã®ã¢ã¸ã¥ã¼ã«ãä½ã£ã¦ã¿ããããªãgdb使ã£ã¦ãããã°ãã¦ã¿ããããªã¨èãã¦ã人ã«ãå§ãã§ãã Javaã§ã®Servletã®éçºçµé¨ã®ãã人ã§ããã°ãFilterã®å¦çã®åãããªã¯ã¨ã¹ãã³ã³ããã¹ãã®èãæ¹ã¯åããæãã¯ããªã®ã§ãã¨ã³ããªãèªã¿çµããé ã«ã¯Apacheã®ã¢ã¸ã¥ã¼ã«ãgdbã§ãããã°ããªããä½ãäºãåºæ¥ãã¯ãã§ãã mod_orzãä½æ ä»åã¯mod_orzã¨ããApacheã¢ã¸ã¥ã¼ã«ãä½æãã¾ãã Apacheã¢ã¸ã¥ã¼ã«ãä½æããéã«ã¯ãapxsã¨ããã¢ã¸ã¥ã¼ã«éçºç¨ã®ã³ãã³ãã使ç¨ããã³ãã¬ã¼ããä½ãã¾ãã # apxs -g -n orz Creating [DIR] orz Creating [F
Linuxã§ç¨¼åããã¦ããApacheã«ã¦èªè¨¼ãå¿ è¦ãªWebãµã¼ãã¹ã«ãWindowsãã¡ã¤ã³(Active Directory)ã®èªè¨¼æ å ±ã使ã£ã¦ãã·ã³ã°ã«ãµã¤ã³ãªã³ãå®ç¾ãããã¾ã§ã®æé ãåå¿é²ã¨ãã¦æ®ãã¦ããã¾ãã ä»åããã©ã¦ã¶ã¯ãIEã¨Firefoxã«ã¦åä½ç¢ºèªãè¡ãã¾ããã Windowsãã¡ã¤ã³ãã°ãªã³ããã¦ããã¯ã©ã¤ã¢ã³ããããä¸è¨2種é¡ã®ãã©ã¦ã¶ã使ãã¨ãNTLMèªè¨¼â»ãå©ç¨ãã¦ããWebãµã¼ãã¹ã«ã¯ãèªè¨¼æ¸ã¿ã®ãã¡ã¤ã³ãã°ãªã³ã®æ å ±ãå©ç¨ãããã¨ãã§ããã¦ã¼ã¶åããã¹ã¯ã¼ããå ¥åããå¿ è¦ã®ç¡ãã·ã³ã°ã«ãµã¤ã³ãªã³ç°å¢ãå®ç¾ã§ãã¾ãã â»NTLMèªè¨¼ï¼NT LAN Manager authenticationï¼ã¨ã¯ - ITç¨èªè¾å ¸ e-Words åæ ä»åå©ç¨ããæ§æã¯ä»¥ä¸ã®ãããªæãã Webãµã¼ã CentOS 5 Apache 2.2 + mod_auth_ntl
ã¯ãªãã¯ã§æ軽ã«iOSãMacã¨è¦ªåæ§ã®é«ããµã¼ãã¼éç¨ãã§ããããããªå¤¢ãèè² ã£ã¦ããã¥ã¼ããServer.appã¯ãæ°ãã¤ãã°ããã®å½¹å²ã縮å°ãç´°ã ã¨ããåå¨ã«ãªã£ã¦ãã¾ãã¾ãããåæã«ããã®æ²ãããã夢ã«ããã£ã¦æ©æµãåãã¦ããã¦ã¼ã¶ã¼ãã¡ã¯ãè·¯é ã«è¿·ãæ代ã«ãªãã¾ããã ä¸å°ãªãã£ã¹åããµã¼ãã¼ãç°¡åã«æ§ç¯ã管çã§ããã¨ããä½ç½®ã¥ãã§ã®Server.appã®æä¾ã¯ãªããªãã¾ããããããããã®åããå´ã«ã¯ããã¤ã¦ã¨å¤ãããªããã¯ãã«ãªç°å¢ãå¼ãç¶ããã¦ãã¾ããããã§ã¯ãServer.appã«é ¼ãããmacOSã®åºæ¬æ§æãä¸å¿ã«ãã¡ãã£ã¨å°ããªãªãã£ã¹ãèªå® åãã®ãµã¼ãã¼ç°å¢ãæ§ç¯ãéç¨ããæ¹æ³ãèãã¦ããã¾ãã
ãã®ã¢ã¸ã¥ã¼ã«ã¯ Apache ã®ãããã·/ã²ã¼ãã¦ã§ã¤æ©è½ãå®è£ ãã¦ãã¾ãã AJP13 (Apache JServe Protocol version 1.3), FTP, CONNECT (SSL ç¨), HTTP/0.9, HTTP/1.0, HTTP/1.1 ã®ãããã·æ©è½ãå®è£ ãã¦ãã¾ãããããã®ãããã³ã«ããã®ä»ã®ãããã³ã«ç¨ã® ãããã·æ©è½ãæã£ããä»ã®ã¢ã¸ã¥ã¼ã«ã«æ¥ç¶ããããã«ãè¨å®ã§ãã¾ãã Apache ã®ãããã·æ©è½ã¯ mod_proxy ã®ä»ã«ã ããã¤ãã®ã¢ã¸ã¥ã¼ã«ã«åå²ããã¦ãã¾ã: mod_proxy_http, mod_proxy_ftp, mod_proxy_ajp, mod_proxy_balancer, mod_proxy_connect ã§ããã§ãããã ç¹å®ã®ãããã·ã®æ©è½ã使ãããå ´åã¯ãmod_proxy 㨠該å½ããã¢ã¸ã¥ã¼ã«ããµã¼ãã« (
è¤æ°ã®ãã¹ããµã¼ãããªãã¼ã¹ãããã·ã§éç´ (1) - daily dayflower 㨠è¤æ°ã®ãã¹ããµã¼ãããªãã¼ã¹ãããã·ã§éç´ (2) - daily dayflower ã®ç¶ãã§ãã mod_rewrite ã® RewriteMap ã使ã£ã¦ãã«ããã«ããã¾ãããï¼ãªãã¨ãã¾ã©ãã£ãããã£ãã§ãããããã URI ã®æ¸ãæãã«çã®ãã DSL ã使ã mod_rewrite ã使ããªãããããªãã¨ãããã¨èªä½ãã¢ã¬ã§ãããã£ã¨æã«ãªããã ããã°ã©ãã³ã°è¨èªã§æ¸ããã°ãã¸ãã¯ããã£ããããã®ã«ï¼ ã¨ããããã§ã¢ã¸ã¥ã¼ã«ãæ¸ãã¦ã¿ã¾ããï¼mod_proxy_mapper.c - daily dayflowerï¼ã ãããã·å°ç¨ã§ããï¼ãµããªã¯ã¨ã¹ãã使ã£ã¦ãããã·å ãé¸å®ããã¢ã¸ã¥ã¼ã«ã§ãã ãµããªã¯ã¨ã¹ãã使ã£ã¦ããã®ã§ï¼Apache ã§ãµãã¼ããã¦ããè¨èªãã³ãã©â¦â¦CGI*1
æãªä¼æ¥ãªã®ã§passengerã¨redmineã§éã¶ãã¨ã«ãã ã¾ãMacPortsã§Apache2ãã¤ã³ã¹ã³ $ sudo port install apache2 libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make[3]: *** [unixd.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1libtool(1.5.24_2)ãä½ãæå¥è¨ã£ã¦ãããã ãææ°ç(1.5.26_0)ã«ä¸ãã¦ããå度installããã¨æåãããããã§portsã®ã
Gregory Trubetskoy E-mail: [email protected] (å訳: æ¥æ¬Pythonã¦ã¼ã¶ä¼) ãªãªã¼ã¹ 3.1.3 å¹³æ17å¹´9æ21æ¥
404ã¨ã©ã¼ãã¼ã¸ã«åè£ã®URLã表示ãã Google ã¦ã§ããã¹ã¿ã¼ ãã¼ã«ã«ã¦ã404ã¨ã©ã¼ãã¼ã¸ã«ãããããã¦ï¼ãçãªURLåè£ã表示ããããµã¼ãã¹ãç»å ´ãã¾ããã ãã®ãµã¼ãã¹ãå©ç¨ããã¨ãèªä½ã®404ãã¼ã¸ã«ç°¡åãªã½ã¼ã¹ã³ã¼ãã追å ããã ã㧠æãè¿ãURLåè£ ãããããã¦ï¼ãçãªURLåè£ ãµã¤ããããã¸ã®ãªã³ã¯ é¢é£ããããªãã¼ã¯ã¼ãããããããå ¥åãããæ¤ç´¢ããã¯ã¹ ã表示ãããã¨ãåºæ¥ã¾ãã2008/08/22ç¾å¨ããã¹ãçã§ã®æä¾ã®ããä¸é¨ãµã¤ãã§ã¯ãæãè¿ãURLãURLããã³ãµã¤ããããã®åè£ãã表示ããã¾ããã 404ãã¼ã¸ã«URLåè£ã表示ããããã®æé ãã®æ©è½ã使ãå ´åã«ã¯Googleã¢ã«ã¦ã³ãåã³Google webãã¹ã¿ã¼ãã¼ã«ã¸ã®ç»é²ãå¿ è¦ã§ãã Google ã¦ã§ããã¹ã¿ã¼ ãã¼ã«ãéãã ãµã¤ãã¡ãã¥ã¼ã®ãéç¨ãã¼ã«ã>ãæ¡å¼µããã404ãã¼ã¸
This directive enables operating system specific optimizations for a listening socket by the Protocol type. The basic premise is for the kernel to not send a socket to the server process until either data is received or an entire HTTP Request is buffered. Only FreeBSD's Accept Filters, Linux's more primitive TCP_DEFER_ACCEPT, and Windows' optimized AcceptEx() are currently supported. Using none fo
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}