{"id":116,"date":"2010-07-15T13:58:06","date_gmt":"2010-07-15T04:58:06","guid":{"rendered":"http:\/\/www.free-style.biz\/lifediary\/?p=116"},"modified":"2010-07-15T13:58:06","modified_gmt":"2010-07-15T04:58:06","slug":"apache-%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%83%ad%e3%82%b0%e3%82%92%e7%9b%ae%e7%9a%84%e5%88%a5%e3%81%ab%e5%88%86%e3%81%91%e3%81%a6%e5%87%ba%e5%8a%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.free-style.biz\/lifediary\/?p=116","title":{"rendered":"Apache \u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u3092\u76ee\u7684\u5225\u306b\u5206\u3051\u3066\u51fa\u529b\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u643a\u5e2f\u30b5\u30a4\u30c8\u3067\u3001\u300cFlash\u5f85\u3061\u53d7\u3051\u300d\u300c\u753b\u50cf\u5f85\u3061\u53d7\u3051\u300d\u300c\u30c7\u30b3\u30e1\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u300d\u306e3\u7a2e\u985e\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u56de\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3057\u305f\u3068\u304d\u306e\u8a71\u3002<br \/>\n\u305d\u308c\u305e\u308c\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u56de\u6570\u3092\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u306e\u884c\u6570(\u3064\u307e\u308a\u753b\u9762\u306b\u8868\u793a\u3057\u305f\u6642\u70b9\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9)\u3067\u5224\u65ad\u3059\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u3002<br \/>\n\u305d\u306e\u9069\u7528\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<br \/>\n<strong><u># vi \/etc\/httpd\/conf\/httpd.conf<\/u><\/strong><\/p>\n<hr>\n<p>#<br \/>\n# For a single logfile with access, agent, and referer information<br \/>\n# (Combined Logfile Format), use the following directive:<br \/>\n#<br \/>\nSetEnvIf Request_URI &#8220;decome\\.dmt&#8221; decome<br \/>\nSetEnvIf Request_URI &#8220;decome\\.hmt&#8221; decome<br \/>\nSetEnvIf Request_URI &#8220;decome\\.khm&#8221; decome<br \/>\nSetEnvIf Request_URI &#8220;flash0\\.swf&#8221; flash<br \/>\nSetEnvIf Request_URI &#8220;waiting0\\.gif&#8221; waiting<br \/>\nCustomLog logs\/decome1_log combined env=decome<br \/>\nCustomLog logs\/flash_log combined env=flash<br \/>\nCustomLog logs\/waiting_log combined env=waiting<br \/>\nCustomLog logs\/access_log combined\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000<br \/>\n\u2192mod_setenvif \u3092\u4f7f\u7528\u3057\u3066\u8a72\u5f53\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u306b\u8a18\u9332\u3055\u308c\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u306b\u3001\u5404\u500b\u5225\u30d5\u30a1\u30a4\u30eb\u3068\u300caccess_log\u300d\u306b\u8a18\u9332\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u4e00\u756a\u5f8c\u308d\u306b\u3064\u3051\u305f\u540d\u524d(env)\u306b\u3088\u3063\u3066\u632f\u5206\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<br \/>\n<VirtualHost *:80><br \/>\n\u30fb\u30fb\u30fb<br \/>\nCustomLog     &#8220;| \/usr\/sbin\/rotatelogs \/home\/fs\/www\/accesslog\/access_log.%Y%m%d 86400 540&#8221; combined<br \/>\nCustomLog     &#8220;| \/usr\/sbin\/rotatelogs \/home\/fs\/www\/accesslog\/decome0_log.%Y%m%d 86400 540&#8221; combined env=decome<br \/>\nCustomLog     &#8220;| \/usr\/sbin\/rotatelogs \/home\/fs\/www\/accesslog\/flash_log.%Y%m%d 86400 540&#8221; combined env=flash<br \/>\nCustomLog     &#8220;| \/usr\/sbin\/rotatelogs \/home\/fs\/www\/accesslog\/waiting_log.%Y%m%d 86400 540&#8221; combined env=waiting<br \/>\n<\/VirtualHost><br \/>\n\u2192\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u3053\u3053\u306b\u3082\u300cCustomLog \u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u6700\u5f8c\u306b\u300cenv\u300d\u3092\u5fd8\u308c\u308b\u3068\u3001\u3046\u307e\u304f\u632f\u5206\u3089\u308c\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u5fd8\u308c\u305a\u306b\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<hr>\n<p>\u5f8c\u306f\u3067\u304d\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u884c\u6570\u3092\u6570\u3048\u308c\u3070\u5404\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u56de\u6570\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n(\u6ce8)Basic\u8a8d\u8a3c\u3092\u304b\u3051\u305f\u5834\u5408\u306f1\u56de\u306e\u30a2\u30af\u30bb\u30b9\u30672\u884c\u8ffd\u52a0\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u643a\u5e2f\u30b5\u30a4\u30c8\u3067\u3001\u300cFlash\u5f85\u3061\u53d7\u3051\u300d\u300c\u753b\u50cf\u5f85\u3061\u53d7\u3051\u300d\u300c\u30c7\u30b3\u30e1\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u300d\u306e3\u7a2e\u985e\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u56de\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3057\u305f\u3068\u304d\u306e\u8a71\u3002 \u305d\u308c\u305e\u308c\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u56de\u6570\u3092\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u306e\u884c\u6570(\u3064\u307e\u308a\u753b\u9762\u306b\u8868\u793a\u3057\u305f\u6642\u70b9\u3067\u30c0\u30a6 &hellip; <a href=\"https:\/\/www.free-style.biz\/lifediary\/?p=116\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Apache \u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u3092\u76ee\u7684\u5225\u306b\u5206\u3051\u3066\u51fa\u529b\u3059\u308b\u65b9\u6cd5<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-116","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.free-style.biz\/lifediary\/index.php?rest_route=\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.free-style.biz\/lifediary\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.free-style.biz\/lifediary\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.free-style.biz\/lifediary\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.free-style.biz\/lifediary\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=116"}],"version-history":[{"count":0,"href":"https:\/\/www.free-style.biz\/lifediary\/index.php?rest_route=\/wp\/v2\/posts\/116\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.free-style.biz\/lifediary\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.free-style.biz\/lifediary\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.free-style.biz\/lifediary\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}