Copyright (C) 2012 Slogical Corporation. All Rights Reserved. ãéå¶ãæ ªå¼ä¼ç¤¾ã¨ã¹ãã¸ã«ã« å¼ççãããã¾å¸æµ¦ååºé«ç 3-10-16 é«ç 第3ãã«7é tel:048-837-7778 ãåãåãã
Copyright (C) 2012 Slogical Corporation. All Rights Reserved. ãéå¶ãæ ªå¼ä¼ç¤¾ã¨ã¹ãã¸ã«ã« å¼ççãããã¾å¸æµ¦ååºé«ç 3-10-16 é«ç 第3ãã«7é tel:048-837-7778 ãåãåãã
ããã¯çµæ§è¦å´ããã®ã§ããã°ã¨ãã¦æ®ãã¦ããã phpã§ãã¦ã³ãã¼ããããæ¹æ³ã調ã¹ãã¨ãã»ã¨ãã©ãreadfile()é¢æ°ã使ãã¨åºã¦ããã ã¾ããééã£ã¦ããªããã ããã©ããåã®å ´å大容éãã¡ã¤ã«ã®ãã¦ã³ãã¼ãã§ãªã«ãèããã«readfileé¢æ°ãã¤ãã£ã¦ãã¾ãããµã¼ãã¼ã¡ã¢ãªã¼é¦¬é¹¿ã¿ããã«ä½¿ç¨ãã¾ããããDiskIOè² è·ã¯10MB/s ã«ã¾ã§ãªããã§ãã¤ããç¶æ³ã«ãªã£ãã äºã®é¡æ«ã¯ãããªæãã ãã¦ã³ãã¼ãããããªã readfileé¢æ° 使ãï¼ â ã»ã¼ãOKã使ã£ã¦ã¿ããã â å®è£ ãã¦ã¿ããã§ã20MBè¶ ãããã¡ã¤ã«ããã¦ã³ãã¼ãããã¨å¤±æãããï¼ â php.iniããã¡ã¤ã«ã® post_max_size, upload_max_filesize, memory_limit ã®è¨å®ã¡ã¢ãªãå¢ããï¼ â åãã£ããå ¨é¨1GBã«è¨å®ãã¦ã¿ããã â ããæ£å¸¸ã«ã¢ããããã¦ã³ãã§
11. $ openssl ciphers -v 'ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL' | sort AES128-SHA SSLv3 Kx=RSA Au=RSA Enc=AES(128) Mac=SHA1 AES256-SHA SSLv3 Kx=RSA Au=RSA Enc=AES(256) Mac=SHA1 DES-CBC-MD5 SSLv2 Kx=RSA Au=RSA Enc=DES(56) Mac=MD5 DES-CBC-SHA SSLv3 Kx=RSA Au=RSA Enc=DES(56) Mac=SHA1 DES-CBC3-MD5 SSLv2 Kx=RSA Au=RSA Enc=3DES(168) Mac=MD5 DES-CBC3-SHA SSLv3 Kx=RSA Au=RSA En
Windowsã«SSLã¤ãã§Apacheãã¤ã³ã¹ãã¼ã«ããå ´åãæä¾ããã¦ãããã¤ããªçã使ãã®ãä¸è¬çã¨æãã¾ãã ããããçµã¿è¾¼ã¿æ¸ã¿ã§æä¾ããã¦ããã®ã¯ã¡ã³ããã³ã¹ããã¦ããã¨ã¯ãã0.9ç³»(2014/4ç¾å¨)ãèå¼±æ§ãçºè¦ãããå ´åã©ããã£ã¦ã¢ãããã¼ãããã®ããã¨ããã®ãåé¡ã«ãªãã¾ãã å°éã«ã³ã³ãã¤ã«ããã¨ããæãããã¾ãããæ¨ä»ã®ç·æ¥æã«ãããªãã¨ãã£ã¦ãããªããã¨ããã®ã§æ´æ°ã®æ¹æ³ãç´¹ä»ãã¾ãã çµè«ããè¨ãã°ãApacheå ã§ä½¿ç¨ããã¦ããOpenSSLã®ãã¤ããªãå ¥ãæ¿ããã¨ããæ¹æ³ã«ãªãã¾ã(ãã¡ãã®ãµã¤ããåèã«ãã¾ãã)ã OpenSSLãã¤ã³ã¹ãã¼ã«ãã(x64/x86ã¯Apacheã®ãã®ã¨åããããã¨) http://slproweb.com/products/Win32OpenSSL.html Apacheãåæ¢ããbinãã©ã«ãã®ããã¯ã¢ãããåå¾ãã¦ã
windows apache access.log åå²ããã°ããã¼ãã¼ã apacheã®ãã°ãæ¥ãã¨ã«åå²ãã¦ä¿åãã ä¸è¨ã§ã¯Windoesã§Xamppã®apacheã使ç¨ããå ´å xampp\apache\confä¸ã«ãã httpd.confãç·¨éãã ErrorLog "| bin/rotatelogs.exe logs/error_%Y%m%d.log 86400" CustomLog "| bin/rotatelogs.exe logs/access_%Y%m%d.log 86400" common sslã使ç¨ãã¦ããã¨ã㯠xampp\apache\conf\extraä¸ã«ãã httpd-ssl.confãç·¨éãã ErrorLog "| bin/rotatelogs.exe logs/error_%Y%m%d.log 86400" CustomLog "| bin/r
apacheã®server-statusã®èªåæ´æ°ã«ã¤ãã¦ã æ®æ®µ http://exsample.com/server-status â èªåãªãã¬ãã·ã¥ã¤ã http://exsample.com/server-status?refresh=60 ããããã¨ã60ç§ãã¨ã«èªåã§ãªãã¬ãã·ã¥ãããããã ?refresh=600 (ããã ã¨10åãã¨) ããã¯ä¾¿å©ã
Apache/SSLèªå·±è¨¼ææ¸ã®ä½æã¨mod sslã®è¨å® æä¾ï¼maruko2 Note. < Apache 移åï¼ æ¡å , æ¤ç´¢ ç®æ¬¡ 1 æé 2 ç§å¯éµã®ä½æ (server.key) 3 CSRï¼è¨¼ææ¸ã®åºã«ãªãæ å ±ï¼ã®ä½æã(server.csr) 3.1 å ¥åé ç®ã®ä¾ 4 証ææ¸ï¼å ¬ééµï¼ã®ä½æ (server.crt) 5 Apache mod_ssl ã®è¨å® 6 Apache èµ·åæã«ãã¹ãã¬ã¼ãºã®å ¥åãçç¥ãã 6.1 ç§å¯éµ (server.key) ãã¡ã¤ã«ãããããã復å·åãã¦ããæ¹æ³ 6.2 Apacheèµ·åæã®ãã¹ãã¬ã¼ãºå ¥åãèªååããæ¹æ³ 7 åèãã¼ã¸ 8 Apache é¢é£ã®ãã¼ã¸ æé 2017å¹´1æ1æ¥ä»¥éãSSL 証ææ¸ã®ç½²åã¢ã«ã´ãªãºã ã¨ã㦠SHA-1 ã使ç¨ãã¦ãã証ææ¸ã¯ SSL éä¿¡ãã§ããªããªãã ããã¯ãWindows製åãGoog
ã·ã¹ãã æ§æãä¸å³ã«ç¤ºãã¾ãã CentOSã®è¨å® SELinuxãç¡å¹ã«ãã ã¨ãã£ã¿ã§ /etc/sysconfig/selinux ãéãã SELINUX ã®å¤ã disabled ã«ç·¨éãã¦ãã ããã SELINUX=enforcing â SELINUX=disabled ç·¨éå¾ãCentOSãåèµ·åãã¦ä¸ããã # reboot åèµ·åå¾ã getenforce ã³ãã³ããå®è¡ãã¦SELinuxãç¡å¹ã«ãªã£ããã¨ã確èªãã¦ãã ããã Disabled ã¨è¡¨ç¤ºãããã°SELinuxã¯ç¡å¹ã«ãªã£ã¦ãã¾ãã # getenforce Disabled iptablesã§HTTPãè¨±å¯ CentOS 6.3ã®åæç¶æ ã§ã¯iptables(ãã¡ã¤ã¢ã¦ã©ã¼ã«)ãæå¹ã«ãªã£ã¦ãããå¤é¨ãããµã¼ãä¸ã®80/tcpãã¼ã(HTTP)ã«æ¥ç¶ãããã¨ãã§ãã¾ãããã¯ã©ã¤ã¢ã³ãã®webãã©ã¦ã¶ããã¢
ã¬ã³ã¿ã«ãµã¼ãã¼ãªã©ã§ä¸è¬çã«ä½¿ç¨ããã¦ããApacheã§åãåºããããã°ã管çã»è§£æããçºã®ãã¼ã«ã4種é¡ç´¹ä»ãã¾ãã ãã¤ãã¯ãèªåã§è©¦ãããã®ãç´¹ä»ãããã¹ã¿ã¤ã«ãåã£ã¦ãã¾ãããä»åã¯ããããã試ãããã®ã®ç´¹ä»ã§ãå ¨ã試ãã¦ãã¾ããã å®çªãªãã®ã»ããã¯ä½¿ãããã¨æã£ããã®ãæãã¦ãã¾ãã ApacheLogViewer ã¡ã¸ã£ã¼ã»åºæ¬ãGUI ã§è¦è¦çã«è©³ç´°ãªãã¼ã¿ãé²è¦§å¯è½ãããªã¼ã ãã¦ã³ãã¼ãï¼ApacheLogViewer ã®ãã¦ã³ãã¼ã ãWindowsç¨ãã¨ãªã£ã¦ããã®ã§ãæãããã°ããã¦ã³ãã¼ããã¦ãã¼ã«ã«ã§è§£æããã¿ã¤ãï¼ ä½è ã¯æ¥æ¬äººãGUIã¯åãããããã¦ä¸å¯§ã 解説ãµã¤ãâ ApacheLogViewer:ã¤ã³ã¹ãã¼ã«ã¨åºæ¬çãªä½¿ãæ¹ - ItsMemo::IT ãApacheLogViewerãï¼ï¼èªå® ãµã¼ãã¼æ§ç¯ããã° Visitors GIGAZINE
Unix ã«ã¯ logrotate ã¨ãããã°ã®ç®¡çããã£ã¦ããã便å©ãªãã¼ã«ãããã¾ãã管çã¨ããã¨ããã§ãããä¸ã¤ã®æ©è½ã¨ãã¦ãã¢ããªã±ã¼ã·ã§ã³ãåãæºããå¤ã log ãã¡ã¤ã«ãæ°ãããã¡ã¤ã«ã«åãæ¿ãã¦ãããç¨åº¦å¤ããªã£ããã®ã¯å»æ£ãã¾ããããã revolver ã rotateï¼å転ï¼ãããããªæè¦ãªãã§ããããã æ¨æ¥ã®ç¶ããªãã§ãããWindows ç°å¢ã§ããã®ãããªã¦ã¼ãã£ãªãã£ãæ¢ãã¦ãã¾ãããã¨ãããã§ãApache èªèº«ã«ä»å±ãããã¼ã«ã§ãrotatelogs.exe ã¨ããã®ãããã®ãç¥ãã¾ãããã©ãã©ãã©ããªä½¿ãæ¹â¦ã¨æã£ã¦èª¿ã¹ã¦ã¿ãã¨â¦ Apache Rotatelogs.exe for Windows Server Conclusion: It is unusable and dangerous (it will eat up all your memory
TOMYZã¨ã¡ã³ãã¯ãã¦ã®ãã«ã¹ã®çæ´» æ¥å¸¸çæ´»ãããã¯ãã¨ãªããç²¾é²ã»è«ç¿ãè¡ããã¨ãå¹¾æéããã ãã®ä¸ã§å¾ãæãç©ãæ¸ãããã¨æãããã æã§ããç©ã¨ãã¦â¦ ã¡ã³ãã¯ãã¦ã®ãã«ã¹ãå¾ã¾ãã⪠ä»ããã¼ã«ã«ï¼°ï¼£ã§éçºä¸ã®ï¼·ï¼¥ï¼¢ãµã¤ãã®çºã«ã Apacheï¼ï¼·ï¼¥ï¼¢ãµã¼ãï¼ãç«ã¡ä¸ãããã¨ãããã ãç«ã¡ä¸ããã¾ã¸ãï¼ï¼ã ã¨æããã¦ãã¾ã£ãããã ããªããã»ãªãããã¨æã£ã¦ã¿ã¦ããã¨ããã ï¼netstat -anoï¼ ããã¾ã80çªãã¼ããæ¼ããããã¦ãï¼ èª°ãæ¼ããã¦ããã®ããªï¼ ã¨æã£ã¦ã¿ã¦ã¿ãã¨ããã ãNT Kernel & Systemãï¼ï¼ Windowsåæ¬ä½ãããªãã§ããï¼ï¼ ä½ããã£ã¦ãããã åã¯ï¼ï¼ãããªã¨ããã«å£ããã¦ããã ã¨æã£ã¦ãå£ãå¡ãæ¹æ³ãæ¢ãã¦ããã¨ããã Windows 7ã®æ°æ©è½ãã©ã³ããã£ãã·ã¥ãµã¼ãã¹ã ããã®ãã¼ãã使ããããããã ãããã
Interstage Application Server/Interstage Web Server ãã©ãã«ã·ã¥ã¼ãã£ã³ã°é Webãµã¼ãããå¿çããªã Webãµã¼ãã«è¦æ±ããããªã¯ã¨ã¹ãããInterstage HTTP Serverã«è¨å®ããã¦ããã¯ã©ã¤ã¢ã³ãã®åææ¥ç¶æ°ãè¶ ããå¯è½æ§ãããã¾ããihsdispã³ãã³ãã§éç¨ä¸ã®Webãµã¼ãã®åä½ç¶æ ã表示ãã¦å¦çä¸ã®ãªã¯ã¨ã¹ãæ°ï¼requests currently being processedï¼ã確èªããå¿ è¦ã«å¿ãã¦ã以ä¸ã®æé ã§ã¯ã©ã¤ã¢ã³ãã®åææ¥ç¶æ°ã®å¤ãå¢å ãã¦ãã ãããWebãµã¼ãã®åä½ç¶æ ã®è¡¨ç¤ºæ¹æ³ã«ã¤ãã¦ã¯ãâInterstage HTTP Server éç¨ã¬ã¤ãâã®âéç¨ã»ä¿å®âï¼âåä½ç¶æ 表示âãåç §ãã¦ãã ããã Interstage管çã³ã³ã½ã¼ã«ã§è¨å®ããå ´å Webãµã¼ãã®ç°å¢è¨å®ç»é¢ã§è¨å®ãã¾ããIn
å æ¥ããç¶ãã¦ããã¢ã¯ã»ã¹ä¸å ·åã«ã¤ãã¦ãã¥ã¼ãã³ã°ï¼ã¨ããã»ã©ã®ãã®ã§ã¯ããã¾ãããï¼ãå®æ½ãã¾ãããä½åãå ±åããæ©ä¼ããããããªã®ã§ã¨ããããããã®1ãã«ã ä¸å ·åã«é¢é£ããäºè±¡ã§ææ¡ã§ãã¦ããã®ã¯æ¬¡ã®3ç¹ã§ãã Apache ããã»ã¹ã®ã¡ã¢ãªãå¢å ãç¶ãï¼ã¡ã¢ãªãªã¼ã¯ï¼ã1æ¥ã§æ°ç¾MBã«è¨ãä¸ãã ä½ããã®å¥æ©ã«ã¬ã¹ãã³ã¹ãçªç¶é ããªãï¼ãæ¼ä¼ã¿çãã¢ã¯ã»ã¹ãéä¸ããã¨Ãï¼ï¼ Apache ãåèµ·åããã°ã¢ã¯ã»ã¹ã¯æ£å¸¸ã«ãªã ãã¥ã¼ãã³ã°é¢é£ã®è¨äºã調ã¹ãçµæãä¸è¨ã®2ã¤ã®ãã£ã¬ã¯ãã£ãã«ã¤ã㦠httpd.conf ã«è¨å®ãããã¨ã«ãã¾ããã MaxRequestsPerChild ããã¯åã ã®åãµã¼ãã稼åä¸ã«æ±ããªã¯ã¨ã¹ãæ°ã®ä¸éã§ããã®ãã£ã¬ã¯ãã£ãã«è¨å®ãããå¤ãè¶ ããã¨åããã»ã¹ã¯çµäºï¼åèµ·åï¼ãã¾ããããã©ã«ã㯠0ï¼=åããã»ã¹ãçµäºããªãï¼ã§ãããç¾å¨ã¯ 5000
ã¸ããããªãããã ã®ãã³ã³ãã®ããã ã ãã³ã³ããä»æ¥ãæã¡å ´ã§ã¬ã³ããªã¤ã¤ã 楽ããçãã¦ããããã®åå¿é²ããã°ãã¬ãã¼ã¼ã£ã£ï¼ï¼2005å¹´7æãã絶è³ãæ´æ°ãä¸ï¼ ããã®è¨äºã®æè¦æé ï¼ ç´ 9 åã Apacheã®åææ¥ç¶æ°ï¼MaxClientsï¼ãã©ã®ããã«è¨å®ããã®ãããã®ã調ã¹ãã Apacheã®ããã»ã¹æ°ãå¶éããããã®ãã£ã¬ã¯ãã£ãããMaxClientsãã§ããã®ãã£ã¬ã¯ãã£ãã«ã¯ãåæã«æ¥ç¶ã§ããã¯ã©ã¤ã¢ã³ãï¼å³å¯ã«ã¯ã»ãã·ã§ã³ï¼ã®æ°ãæå®ããªããã°ãªããªãã âã¾ãã¯Apacheããã¥ã¡ã³ãã確èªããã Apacheã®ããã¥ã¡ã³ãã§ã¯ã以ä¸ã®ããã«å®ç¾©ããã¦ããã MaxClients ãã£ã¬ã¯ãã£ã 説æ: ãªã¯ã¨ã¹ãã«å¿çããããã«ä½æãããåããã»ã¹ã®æ大åæ° æ§æ: MaxClients number ããã©ã«ã: 詳細ã¯ä½¿ç¨æ³ãã覧ä¸ããã ã³ã³ããã¹ã:
[PR]ä¸è¨ã®åºåã¯3ã¶æ以ä¸æ°è¦è¨äºæ稿ã®ãªãããã°ã«è¡¨ç¤ºããã¦ãã¾ããæ°ããè¨äºãæ¸ãäºã§åºåãæ¶ãã¾ãã 以åãLinuxã«aptã§apache2.2ãã¤ã³ã¹ãã¼ã«ããSSLãå°å ¥ãã¾ãããApacheã«SSLãå°å ¥ ä»åã¯ãApache2.0ç³»ãWindowsã«ã¤ã³ã¹ãã¼ã«ãã¦ãSSLãå°å ¥ãã¦ã¿ããã¨æãã¾ãã 2.0ç³»ãã¤ã³ã¹ãã¼ã«ããçç±ã¯ãmod_jkã使ã£ããã¼ããã©ã³ã¹ã2.2ç³»ã§ä½¿ç¨ã§ããªãããã§ãã ã¤ã³ã¹ãã¼ã©ã¯"apache_2.0.63-win32-x86-openssl-0.9.7m.msi"ã使ç¨ãã¾ããã [Think IT] 第7åï¼Apache+SSLç°å¢ãæ§ç¯ãããï¼ãåèã«ããªãããä½æ¥ãé²ãã¾ãã 以åå°å ¥ããLinuxçã¨ã»ã¨ãã©å¤ããã¾ããã â»ãªãä½æ¥ãã£ã¬ã¯ããªã¯ã"C:\Apache2\bin"ã¨ãã¾ãã ãhttpd.confã®ç·¨é
XAMPPã¯Windowsç°å¢ã§ææ°ãã¼ã¸ã§ã³ãåã£ã¦ããçã§ãã WebDAVãå©ç¨ãããã¨ããã¨ãããã¤ã³ã¹ãã¼ã«ãã©ã«ããC:\xamppã¨ãã㨠C:\xampp\webdavãã©ã«ã以ä¸ãããã©ã«ãã§WebDAVã§å ¬éãããã«ã¼ããã©ã«ãã«ãªãã ãã®ãã©ã«ãå ã«æ¥æ¬èªãã¡ã¤ã«åã®ãã¡ã¤ã«ãæ··å¨ã§ãã¡ã¤ã«ãããåããããã¨ããã¨ãããXAMPPã®ããã©ã«ãè¨å®ã§ã¯ä½åº¦ãã£ã¦ãWebãã©ã«ããä½æã§ããªãã æåã¯ãWindowsã¯ã©ã¤ã¢ã³ãå´ã®åé¡ã¨ãã¦ä»¥ä¸ã®å¯¾å¦ãå®æ½ã http://www.aconus.com/~oyaji/www/apache_win_dav.htm http://support.microsoft.com/kb/287402/ja http://support.microsoft.com/default.aspx?scid=kb;ja;825382 ã ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}