{"id":91,"date":"2021-05-21T15:42:40","date_gmt":"2021-05-21T06:42:40","guid":{"rendered":"https:\/\/software.satoshis.jp\/?p=91"},"modified":"2021-05-21T16:01:21","modified_gmt":"2021-05-21T07:01:21","slug":"mac%e3%81%ab%e6%a8%99%e6%ba%96%e3%81%a7%e5%85%a5%e3%81%a3%e3%81%a6%e3%81%84%e3%82%8bapache2%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"https:\/\/software.satoshis.jp\/?p=91","title":{"rendered":"Mac\u306b\u6a19\u6e96\u3067\u5165\u3063\u3066\u3044\u308bapache2\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/software.satoshis.jp\/wp-content\/uploads\/2021\/05\/apache-logo.png\" alt=\"\" width=\"1024\" height=\"500\" class=\"alignnone size-full wp-image-92\" \/><\/p>\n<h3>httpd\u306e\u5834\u6240<\/h3>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsatoshis@iMac ~ % which httpd\r\n\/usr\/sbin\/httpd\r\n<\/pre>\n<h3>apachectl\u306e\u5834\u6240<\/h3>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsatoshis@iMac ~ % which apachectl\r\n\/usr\/sbin\/apachectl\r\n<\/pre>\n<h3>httpd.conf\u306e\u5834\u6240<\/h3>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsatoshis@iMac ~ % ls -l \/etc\/apache2\/\r\ntotal 88\r\ndrwxr-xr-x  14 root  wheel    448  1  1  2020 extra\r\n-rw-r--r--   1 root  wheel  21641  1  1  2020 httpd.conf\r\n-rw-r--r--   1 root  wheel  13064  1  1  2020 magic\r\n-rw-r--r--   1 root  wheel  61118  1  1  2020 mime.types\r\ndrwxr-xr-x   4 root  wheel    128  1  1  2020 original\r\ndrwxr-xr-x   4 root  wheel    128  1  1  2020 other\r\ndrwxr-xr-x   3 root  wheel     96  5  6 14:10 users\r\n<\/pre>\n<h3>\u30c7\u30d5\u30a9\u30eb\u30c8\u306eDocumentRoot\u306e\u5834\u6240\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u7b87\u6240<\/h3>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n#\r\n# DocumentRoot: The directory out of which you will serve your\r\n# documents. By default, all requests are taken from this directory, but\r\n# symbolic links and aliases may be used to point to other locations.\r\n#\r\nDocumentRoot &quot;\/Library\/WebServer\/Documents&quot;\r\n&lt;Directory &quot;\/Library\/WebServer\/Documents&quot;&gt;\r\n    #\r\n    # Possible values for the Options directive are &quot;None&quot;, &quot;All&quot;,\r\n    # or any combination of:\r\n    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews\r\n    #\r\n    # Note that &quot;MultiViews&quot; must be named *explicitly* --- &quot;Options All&quot;\r\n    # doesn't give it to you.\r\n    #\r\n    # The Options directive is both complicated and important.  Please see\r\n    # http:\/\/httpd.apache.org\/docs\/2.4\/mod\/core.html#options\r\n    # for more information.\r\n    #\r\n    Options FollowSymLinks Multiviews\r\n    MultiviewsMatch Any\r\n\r\n    #\r\n    # AllowOverride controls what directives may be placed in .htaccess files.\r\n    # It can be &quot;All&quot;, &quot;None&quot;, or any combination of the keywords:\r\n    #   AllowOverride FileInfo AuthConfig Limit\r\n    #\r\n    AllowOverride None\r\n\r\n    #\r\n    # Controls who can get stuff from this server.\r\n    #\r\n    Require all granted\r\n&lt;\/Directory&gt;\r\n<\/pre>\n<h3>\u30c7\u30d5\u30a9\u30eb\u30c8\u306eDocumentRoot\u306e\u5834\u6240<\/h3>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsatoshis@iMac ~ % ls -l \/Library\/WebServer\/Documents\r\ntotal 327760\r\n-rw-r--r--  1 root      wheel       3726  1  1  2020 PoweredByMacOSX.gif\r\n-rw-r--r--  1 root      wheel      31958  1  1  2020 PoweredByMacOSXLarge.gif\r\n-rw-r--r--  1 root      wheel         45  1  1  2020 index.html.en\r\n<\/pre>\n<h3>\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u306e\u5834\u6240<\/h3>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsatoshis@iMac ~ % ls -l \/var\/log\/apache2\r\ntotal 48\r\n-rw-r--r--  1 root  wheel  18603  5 21 15:21 access_log\r\n-rw-r--r--  1 root  wheel    423  5 21 14:25 error_log\r\n<\/pre>\n<div id=\"rinkerid100\" class=\"yyi-rinker-contents  yyi-rinker-postid-100 yyi-rinker-img-m yyi-rinker-catid-34 \">\n\t<div class=\"yyi-rinker-box\">\n\t\t<div class=\"yyi-rinker-image\">\n\t\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/dp\/4774150363?tag=satoshis-22&#038;linkCode=ogi&#038;th=1&#038;psc=1\" rel=\"nofollow\" class=\"yyi-rinker-tracking\"  data-click-tracking=\"amazon_img 100 \u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)\" data-vars-click-id=\"amazon_img 100 \u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/m.media-amazon.com\/images\/I\/51qAG+e+baL._SL160_.jpg\"  width=\"116\" height=\"160\" class=\"yyi-rinker-main-img\" style=\"border: none;\"><\/a>\t\t\t\t\t<\/div>\n\t\t<div class=\"yyi-rinker-info\">\n\t\t\t<div class=\"yyi-rinker-title\">\n\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/dp\/4774150363?tag=satoshis-22&#038;linkCode=ogi&#038;th=1&#038;psc=1\" rel=\"nofollow\" class=\"yyi-rinker-tracking\" data-click-tracking=\"amazon_title 100 \u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)\" data-vars-amp-click-id=\"amazon_title 100 \u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)\" >\u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)<\/a>\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"yyi-rinker-detail\">\n\t\t\t\t\t\t\t<div class=\"credit-box\">created by&nbsp;<a href=\"https:\/\/oyakosodate.com\/rinker\/\" rel=\"nofollow noopener\" target=\"_blank\" >Rinker<\/a><\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<ul class=\"yyi-rinker-links\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                    <li class=\"amazonlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/dp\/4774150363?tag=satoshis-22&amp;linkCode=ogi&amp;th=1&amp;psc=1\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\"  data-click-tracking=\"amazon 100 \u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)\"  data-vars-amp-click-id=\"amazon 100 \u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)\">Amazon<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"rakutenlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/0660286f.3d35f3ee.06602870.8701016f\/Rinker_o_20210521160057?pc=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2Fapache%2F%3Ff%3D1%26grp%3Dproduct&amp;m=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2Fapache%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\"  data-click-tracking=\"rakuten 100 \u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)\"  data-vars-amp-click-id=\"rakuten 100 \u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)\">\u697d\u5929\u5e02\u5834<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"yahoolink\">\n\t\t\t\t\t\t<a href=\"https:\/\/shopping.yahoo.co.jp\/search?p=apache\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\"  data-click-tracking=\"yahoo 100 \u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)\"  data-vars-amp-click-id=\"yahoo 100 \u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u5b9f\u969b\u304c\u308f\u304b\u308b Apache[\u5b9f\u8df5]\u904b\u7528\/\u7ba1\u7406 (Software Design plus)\">Yahoo\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t                \t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>httpd\u306e\u5834\u6240 satoshis@iMac ~ % which httpd \/usr\/sbin\/httpd apachectl\u306e\u5834\u6240 satoshis@iMac ~ % which apachect &#8230; <\/p>\n","protected":false},"author":1,"featured_media":92,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[35,36,37,25],"class_list":["post-91","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache","tag-apache","tag-documentroot","tag-httpd","tag-mac"],"nelio_content":{"autoShareEndMode":"never","automationSources":{"useCustomSentences":false,"customSentences":[]},"efiAlt":"","efiUrl":"","followers":[1],"highlights":[],"isAutoShareEnabled":true,"networkImageIds":[],"permalinkQueryArgs":[],"series":[],"suggestedReferences":[]},"views":16734,"_links":{"self":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/91","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=91"}],"version-history":[{"count":7,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/91\/revisions"}],"predecessor-version":[{"id":101,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/91\/revisions\/101"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/media\/92"}],"wp:attachment":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}