1. 2013/09/29 WordBenchäº¬é½ Cherry Pie Web å·äºæ彦 .htaccessã«ãããªãã¤ã¬ã¯ãå¾¹åºè§£èª¬ ï½ç¡éã«ã¼ãã§100åè¿ããããªãããã«ï½
Topcoatã¯Adobe社ãæä¾ããOSSã®CSSãã¬ã¼ã ã¯ã¼ã¯ã§ããã·ã³ãã«ã§ä½¿ããããUIã§ã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ã«ã対å¿ãã¦ãã¾ããã¢ãã¤ã«çã¯ã¿ããããããããã«ã¨ã¬ã¡ã³ãã®é«ããããé«ããã¦ããã¦ãã®ãç´ æµã§ãããã©ã¤ã»ã³ã¹ã¯Apacheã©ã¤ã»ã³ã¹ã§ãã Topcoat
ã¤ã³ã¹ã¿ã³ã¹ãç«ã¡ä¸ãã£ããSSHã§ãµã¼ãã¼ã«ãã°ã¤ã³ããããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã¦ããã¾ããSSHã§ãã°ã¤ã³ããã«ã¯Macãªãæ¨æºã§æè¼ã®ã¿ã¼ããã«ãWindowsãªãTeraTermã®ãããªããªã¼ã½ãããå©ç¨ãã¾ãã ã¾ãã¯ãµã¼ãã¼ã¸æ¥ç¶ãã¾ããã ssh -i ï¼éµã®ãã¹) ec2-user@(Public DNS) éµã®ãã¹ã¯ãKeyPairsãä½æããéã«ä¿åãã***.pemã¨ãããã¡ã¤ã«ã§ãããããä¿åããã¦ããå ´æãæå®ãã¾ãã ec2-userã¯ã¦ã¼ã¶ã¼IDã§ãAWSã«ã¦SSHæ¥ç¶ããéã¯å¤§ä½ãã®IDã§æ¥ç¶ãã¾ãã Public DNSã¯ã¤ã³ã¹ã¿ã³ã¹ãç«ã¡ä¸ããéã«å²ãå½ã¦ãããè¨ãã°URLã«å½ããã¾ãã ããæ¥ç¶ããéã«ä¸è¨ã®ãããªã¨ã©ã¼ãåºãå ´åã¯éµã®ãã¼ããã·ã§ã³ãå¤æ´ããªãã¨è¡ãã¾ããã chmod 600 (éµã®ãã¹) æ¥ç¶ã§ãããsuãå©ç¨ãã¦root権éã«
Search Engine for the Internet of Everything Shodan is the world's first search engine for Internet-connected devices. Discover how Internet intelligence can help you make better decisions. Sign Up Now Beyondthe Web Websites are just one part of the Internet. Use Shodan to discover everything from power plants, mobile phones, refrigerators and Minecraft servers. MonitorNetwork Exposure Keep track
ç±³å½ã®å½åå®å ¨ä¿éç (DHS) ã12/10ã«ç£æ¥ç¨å¶å¾¡ã·ã¹ãã åãã®ææ¸ (ICS-ALERT-11-343-01) ãå ¬éããã¤ã³ã¿ã¼ãããã«æ¥ç¶ãã¦ããå¶å¾¡ã·ã¹ãã ã«å¯¾ããæ»æã®å¯è½æ§ã«ã¤ãã¦æ³¨æåèµ·ãè¡ãã¾ããããã®ææ¸ã§ã¯ãã¤ã³ã¿ã¼ãããã«æ¥ç¶ãã¦ããæ©å¨ã®ç¹å®ã« SHODAN ã¨ããæ¤ç´¢ã¨ã³ã¸ã³ãå©ç¨ããã¦ããã¨ææãã¦ãã¾ãããã® SHODAN ã¨ã¯ä¸ä½ãªãã§ãããã? SHODAN[1]http://www.shodanhq.com/ ã¯ç´2å¹´åã« John Matherly æ°ã«ãã£ã¦éçºãããæ¤ç´¢ã¨ã³ã¸ã³ã§ããSHODAN ãä¸è¬çãªæ¤ç´¢ã¨ã³ã¸ã³ã¨éã£ã¦ã¦ãã¼ã¯ãªç¹ã¯ãWeb ãµã¼ãã ãã§ãªãã¤ã³ã¿ã¼ãããã«æ¥ç¶ãã¦ããæ§ã ãªã³ã³ãã¥ã¼ã¿ãæ¤ç´¢å¯¾è±¡ã¨ãã¦ãããã¨ã¨ãããã¼æ å ±ãã¤ã³ããã¯ã¹åãã¦ãããã¨ã§ããããã¤ã¾ã SHODAN 㯠Web ãµã¼ãã®ã³ã³ãã³ããæ¤
CSS ã JavaScript ãã¡ã¤ã«ãªã©ã gzip å§ç¸®ãã¦è»¢ééã®åæ¸ã Web ãµã¤ã表示é度ã®åä¸ãå®ç¾ããæ¹æ³ã解説ãæ¢å Web ãµã¤ãã®ã½ã¼ã¹ã«ã¯ä¸åæãå ããªãæ¹æ³ã§ã¾ã¨ãã¦ãã¾ãããã¾ãã§ãã£ãã·ã¥é¢é£ã®è¨è¿°ãããã ããã1ãã¤ãã®ç¡é§ãããããããã ãã¨ããé£èªåãããã¨ããªãå¥ã«ããã°ãããã§ããã©ãCSS ã JavaScript ãã¡ã¤ã«ã®æ¹è¡ãã¹ãã¼ã¹ãåé¤ããã ãã§ãã¡ã¤ã«å®¹éå§ç¸®ãèªã¿è¾¼ã¿éã¼ãçãªãã¨ãã人ãããã®ã§ä»ããã§ããæ¸ãã¦ã¿ã¾ãããã§ã«è²ã ãªã¨ããã§æ¸ããã¦ãã®ã§ãã¶ãã®ã¯æ¿ç¥ã®ä¸ã§ã æ¹è¡ãç¡é§ãªã¹ãã¼ã¹ãªã©ãåé¤ãããã¨èªä½ãæªãã¨è¨ã£ã¦ãããã§ã¯ããã¾ããã®ã§ãã®è¾ºã¯èª¤è§£ãªãããã«ãé¡ããã¾ãããã ãgzip 使ã£ã¦å§ç¸®ããã®ã«æ¯ã¹ãããæ¹è¡åé¤ãã¦åãããã¡ã¤ã«ãµã¤ãºãªãã¦å¾®ã ãããã®ã§ãããã¡ããã両æ¹ããã°æ大éãã¡ã¤ã«ãµã¤
3. XPathXML ã HTML ã®ä»»æã®ä½ç½®ãåå¾ããããã®å¼XPathã¨ã³ã¸ã³ãããã°ã XPathãæå®ã㦠HTML ä¸ã®å¤ãç°¡åã«æã£ã¦ããã 4. XPath<?php$url = 'http://www.nicovideo.jp/';libxml_use_internal_errors(true);$doc = new DOMDocument();$doc->loadHTML(file_get_contents($url));libxml_clear_errors();$xpath = new DOMXPath($doc);foreach ($xpath->query('//a') as $node) { echo $node->textContent . "";}
ã¾ã 6 æã ã£ã¦ã®ã«æ©ããä»å¹´åããããã§ãã¡ãã£ããï¼ããã¼ã® nakamura ã§ãã ãµã¤ãã®ã¢ãã¤ã«ãã¹ãã対å¿ããã£ããä¸è¬çã«ãªã£ã¦ããä»æ¥ãã®é ãã¿ãªãããã¤ãã©ããªæ¹æ³ã§ãã£ãªã¢å¤å®ãå®è£ ãã¦ããã§ããããããã£ã¤ããã¬ã¼ã ã¯ã¼ã¯ãªã©ã使ã£ã¦ããã°ãã»ã©é£ããã¯ããã¾ããããã»ã¨ãã©ããã°ã©ã ãåãã¦ããªããããªéçãªãµã¤ãã®å ´åã¯ã¡ãã£ã¨é¢åã§ãããä»æ¥ã¯ãããªæã«æç¨ãª .htaccess ã使ã£ããã£ãªã¢å¤å®ã®æ¹æ³ããç´¹ä»ãã¾ãã ä»æ§ ä»åãã«ã¼ããã£ã¬ã¯ã㪠/ 㯠PC ç¨ãµã¤ãã/m/ 以ä¸ãã¢ãã¤ã«ãµã¤ãã/sp/ 以ä¸ãã¹ãããµã¤ãã¨ãã¦ä»¥ä¸ã®ä»æ§ãå ã«è¨è¿°æ¹æ³ãèãã¦ããã¾ãã PC 㧠/m/, /sp/ 以ä¸ã«ã¢ã¯ã»ã¹ããã /ãã«ãªãã¤ã¬ã¯ãã ã¢ãã¤ã«ãã¹ãã㧠PC ãµã¤ãã«ã¢ã¯ã»ã¹ããããããã /m/, /sp/ ã«ãªãã¤ã¬ã¯ãã ã¢ãã¤
Webã·ã¹ãã éçºã§ä½¿ã£ã¦ãã便å©ãªãã¼ã«ãããã¦ã¿ã¾ããã ããããã¦ç¤¾å ã®éçºç°å¢ãè¦ç´ãæ©ä¼ããã£ãã®ã§ã使ã£ã¦ãããã¼ã«ã並ã¹ã¦ã¿ã¾ããããããã¦è¦ãã¨è²ã ãªãã¼ã«ã使ã£ã¦éçºããã¦ãã¾ãããããã¨å®çªç³»ãªãã®ãå¤ãã§ãããè¯ãã£ããåèã«ã©ããã 1. Apache / PostgreSQL / PHP Mac OS X ã« MacPorts ã§ã¤ã³ã¹ãã¼ã«ããApache / PostgreSQL / PHP ç°å¢ã使ã£ã¦éçºããã¦ãã¾ãã PHPã¯5.3ãPostgreSQLã¯8.4 or 9.0ã§ãã ãã æ§ãã¼ã¸ã§ã³ã®PHPã使ã£ãããLinux ã§ãªããã°åããªãã¢ã¸ã¥ã¼ã«ã使ããã¨ãããã®ã§ããã®éã¯ç¤¾å ã®CentOSãµã¼ãã«SSHã§å ¥ã£ã¦éçºãããããã¾ãã Vimã使ã£ã¦ãã®ã§ãSSHã§å ¥ãã°ã©ã®ãµã¼ãã§ãéçºã§ããã®ã¯å©ç¹ã§ããã Mac ã使ãåºãã¦ããã°ãã
ã¦ã§ããµã¤ããããã°ã®éå¶ã§ãã使ããããªä¾¿å©ãª.htaccessã®è¨å®ãç´¹ä»ãã¾ãã ããããã¾ã¨ãã¯å®æçã«ããã£ã¦ãã¾ããããã£ã±ãå¿ è¦ãªã®ã§ã·ã§ã¢ãã¾ãã 10 useful .htaccess snippets to have in your toolbox [ad#ad-2] ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã URLããwwwãåé¤ hotlinkingã®é²æ¢ feedãfeedbunnerã«ãªãã¤ã¬ã¯ã ã«ã¹ã¿ã ã¨ã©ã¼ãã¼ã¸ ãã¦ã³ãã¼ããã¡ã¤ã«ã®å¦ç PHPã®ã¨ã©ã¼ã®ãã° URLãããã¡ã¤ã«ã®æ¡å¼µåãåé¤ ãã£ã¬ã¯ããªã®ãã¡ã¤ã«ãªã¹ããè¦ããªã ãã¡ã¤ã«ãå§ç¸®ãã¦è»½éå æåã³ã¼ãã®æå® URLããwwwãåé¤ SEOãªã©ã®çç±ã§ãURLããwwwãåé¤ãã¦ä½¿ããã¨ãããããããã¾ããããã®ã¹ããããã¯ãããªãã®ã¦ã§ããµã¤ãã«wwwä»ãã§ã¢ã¯ã»ã¹ãã¦ãã¦ãwwwç¡ãã«å
ãã¹ã¯ã¼ãä¿åã®å¸¸è(?) èªå·±ç´¹ä» ãã¹ã¯ã¼ãä¿åã®å¸¸è(?)ã®å¾©ç¿ éµãå©ç¨ãããã¹ã¯ã¼ãä¿åæ¡ ã¾ã¨ã èªå·±ç´¹ä» ECãã ã·ã¹ãã æ¬é¨ æ¥å±±å¾å¾ @haruyama ã»ãã¥ãªã㣠OpenSSH (æ¬x2, OpenSSHæ å ±) æå·æè¡å¤§å ¨ 18ç« (ããã·ã¥), 20ç« (é»åç½²å)翻訳æ å½ å ¨ææ¤ç´¢ã·ã¹ãã Apache Solrã®åå¼·ä¼éå¬ æ¬¡åã¯11/19(é)äºå®
管çä¸ã®ãµã¼ãã§è¡ã£ã¦ããã»ãã¥ãªãã£è¨å®ãå ¬éãã¾ããæ¬å½ã¯ãããããã¨ãå ¬éããã®ã¯ãããããªãã®ã§ãããèå¼±ãµã¼ãã氾濫ãã¦ããç¾ç¶ãããè¸ã¿å°ã¨ãªã£ã¦sshã¢ã¿ãã¯ãããã®ãè¿·æ極ã¾ããªãã®ã§ãæä½éãã£ã¨ãã¨ããå 容ã§ã¾ã¨ãã¾ããã*1 èµ·åãµã¼ãã¹ã¨æ¦è¦ iptables/Firewallã®è¨å® iptablesã®ä¸èº« limit-burstã«ã¤ã㦠hashlimitã«ã¤ã㦠hosts.allow/hosts.deny(TCP Wrapper)ã®è¨å® sshdã®è¨å® ãã®ä»ã®è¨å® Apacheã®è¨å® Postfixã®è¨å® Dovecotã®è¨å® ã¾ã¨ã èµ·åãµã¼ãã¹ã¨æ¦è¦ Apache (www) sshd smtp/pop bind (DNS) ntpd ããã¤ãã®æ³¨æç¹ã sftpã§ååãªã®ã§ftpdã¯ä½¿ããªããWinSCPçã使ãã°ffftpã«ä¾åããå¿ è¦ã¯ãªãã*2
å æ¥ãWeb ãµã¼ãåå¼·ä¼ #2 ãéããã¾ãããå 容ã¯ãApache ã®ãã¥ã¼ãã³ã°ã¨ãããã¨ã§ãåå ãããã£ãã®ã§ãããä»ã®äºå®ããã£ã¦åå ã§ãã¾ããã§ããã ããã§ãåãå人çã«è¡ã£ã¦ãã Apache ã®ãã¥ã¼ãã³ã°ãç´¹ä»ãããã¨æãã¾ããæåãã¹ã©ã¤ãã§ä½æããããã¨æã£ãã®ã§ãããããã°ã«ã¾ã¨ããã»ãããããããªã®ã§ããã°ã«ã¾ã¨ãã¦ããã¾ãã ã¾ãã大åæã¨ã㦠Apache ããã¥ã¼ãã³ã°ããããã§ã大äºãªãã¨ã¯ãã® Apache ãæä¾ãã Web ãµã¼ãã¹ã®ç¨®é¡ã®ãã£ã¦å¤§ãããã¥ã¼ãã³ã°ããå 容ãç°ãªãã¨ãããã¨ã§ããä¾ãã°ãåç»ã»åçå ±æãµã¼ãã¹ã¨æ ªä¾¡æ å ±ã®ãµã¼ãã¹ãæ¯è¼ããã¨ãå½ç¶ã®ãã¨ãªãã大ãããµã¼ãã¹ã®å 容ãç°ãªãã¾ãããHTTP ã¬ãã«ã§ã¿ãã¨ã¯ã©ã¤ã¢ã³ãããã®ãªã¯ã¨ã¹ãæ°ããã¼ã¿ãµã¤ãºããªã©ãããªãéã£ã¦ãã¾ãã ã§ãã®ã§ãã¾ãã¯èªåãæ±ã£ã¦ããã¦ã§ããµã¼ã
ã¦ã§ããµã¤ãã®ããã©ã¼ãã³ã¹ã®æ¹åãSEOãã»ãã¥ãªãã£ã«å½¹ç«ã¤.htaccessã®è¨å®ãç´¹ä»ãã¾ãã 17 Useful Htaccess Tricks and Tips åèï¼Apache ãã¥ã¼ããªã¢ã«: .htaccess ãã¡ã¤ã«ãApache ã³ã¢æ©è½ [ad#ad-2] .htaccessã®è¨å®ï¼ããã©ã¼ãã³ã¹ãSEOé¢é£ .htaccessã®è¨å®ï¼ã»ãã¥ãªãã£é¢é£ .htaccessã®è¨å®ï¼ããã©ã¼ãã³ã¹ãSEOé¢é£ .htaccessã§ã¿ã¤ã ã¾ã¼ã³ãè¨å® .htaccessã§ã¿ã¤ã ã¾ã¼ã³ãè¨å®ãã¾ãã ä¾ï¼æ±äº¬ SetEnv TZ JST-9 ãããã¯ã SetEnv TZ Asia/Tokyo .htaccessã§301ãªãã¤ã¬ã¯ããè¨å® .htaccessã§301ãªãã¤ã¬ã¯ãï¼æ°¸ç¶çãªãªãã¤ã¬ã¯ãï¼ãè¨å®ãã¾ãã ä¾ï¼æ§ãã¡ã¤ã«ï¼old.htmlï¼ãæ°ãã¡ã¤ã«ï¼new
ãããã¤ã³ã¹ãã¼ã«ä»£è¡¨ã®ã©ã¤ãããã¯ããã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}