{"id":56,"date":"2014-10-30T20:44:10","date_gmt":"2014-10-30T11:44:10","guid":{"rendered":"http:\/\/tech.at-iroha.jp\/?p=56"},"modified":"2015-02-12T16:57:26","modified_gmt":"2015-02-12T07:57:26","slug":"mac-%e3%81%b8%e3%81%ae-xampp-%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8-documentroot-%e3%81%ae%e5%a4%89%e6%9b%b4","status":"publish","type":"post","link":"https:\/\/tech.at-iroha.jp\/?p=56","title":{"rendered":"Mac \u3078\u306e XAMPP \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068 DocumentRoot \u306e\u5909\u66f4"},"content":{"rendered":"<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u74b0\u5883 : Mac OS X Yosemite<\/p>\n<p>1. XAMPP \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/> https:\/\/www.apachefriends.org\/download_success.html<\/p>\n<p>2. \/Applications\/XAMPP\/xamppfiles\/etc\/httpd.conf \u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<p>3. \u4ee5\u4e0b\u306e\u884c\u306e\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3092\u5916\u3057\u3001\u4fdd\u5b58\u3057\u307e\u3059\u3002<br \/> #Include etc\/extra\/httpd-vhosts.conf<br \/> \u2193<br \/> Include etc\/extra\/httpd-vhosts.conf<\/p>\n<p>4. \/Applications\/XAMPP\/xamppfiles\/etc\/extra\/httpd-vhosts.conf \u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<p>5. \u6700\u7d42\u884c\u306b\u4ee5\u4e0b\u306e\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3057\u3001DocumentRoot \u306b\u5909\u66f4\u3057\u305f\u3044\u5834\u6240\u3092\u8a2d\u5b9a\u3057\u3001\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p>&lt;VirtualHost *:80&gt; <br \/> DocumentRoot &#8220;\/Users\/username\/Dropbox\/www&#8221; <br \/> ServerName localhost<br \/>&lt;\/VirtualHost&gt;<\/p>\n<p>&lt;Directory &#8220;\/Users\/username\/Dropbox\/www&#8221;&gt;<br \/> AllowOverride All<br \/> Require all granted<br \/>&lt;\/Directory&gt;<\/p>\n<p>\u3053\u308c\u3060\u3051\u306f\u81ea\u5206\u306e\u74b0\u5883\u3067\u306f\u300cAccess forbidden\u300d\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u305f\u3081\u3001\u30a2\u30af\u30bb\u30b9\u6a29\u306e\u5909\u66f4\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>6. Finder \u3067\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u9806\u306b\u3001DocumentRoot \u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u3092\u9078\u629e\u3057\u3001Command+I \u3067\u30d5\u30a9\u30eb\u30c0\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>7. \u4e0b\u306e\u300c\u5171\u6709\u3068\u30a2\u30af\u30bb\u30b9\u6a29\u300d\u306b\u3066 everyone \u306b\u5bfe\u3057\u3066\u300c\u8aad\u307f\u51fa\u3057\u306e\u307f\u300d\u3082\u3057\u304f\u306f\u300c\u8aad\u307f\u66f8\u304d\u300d\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>8. \u4e00\u756a\u6700\u4e0b\u5c64\u306e\u30d5\u30a9\u30eb\u30c0\u307e\u3067\u3001\u540c\u69d8\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>9. \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089 XAMPP \u30d5\u30a9\u30eb\u30c0\u3092\u958b\u304d\u3001XAMPP \u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>10. [Manage Servers]\u3092\u9078\u629e\u3057\u3001\u5404\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>11. \u30d6\u30e9\u30a6\u30b6\u3092\u8d77\u52d5\u3057\u3001\u5909\u66f4\u3057\u305f DocumentRoot \u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/> \u300cAccess forbidden\u300d\u3068\u8868\u793a\u3055\u308c\u308b\u5834\u5408\u306f\u3001\u3069\u3053\u304b\u306e\u30d5\u30a9\u30eb\u30c0\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u9069\u5207\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u74b0\u5883 : Mac OS X Yosemite 1. XAMPP \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 https:\/\/www.apachefriends.org\/download_success.html 2. \/Appl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry","category-env"],"_links":{"self":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=56"}],"version-history":[{"count":6,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/56\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/56\/revisions\/63"}],"wp:attachment":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}