{"id":358,"date":"2013-05-26T18:22:30","date_gmt":"2013-05-26T18:22:30","guid":{"rendered":"http:\/\/blog.trungson.com\/?p=358"},"modified":"2013-05-26T18:22:30","modified_gmt":"2013-05-26T18:22:30","slug":"google-drive-xampp-macbook","status":"publish","type":"post","link":"http:\/\/blog.trungson.com\/?p=358","title":{"rendered":"Google Drive, XAMPP, MacBook"},"content":{"rendered":"<ol>\n<li>Rename &#8220;Google Drive&#8221; to one without space. Example: GoogleDrive to avoid issues<\/li>\n<li>Move app to that folder: \/Users\/xxx\/GoogleDrive\/htdocs\/MyApp<\/li>\n<li>Edit XAMPP etc\/httpd\/extra\/httpd-vhost.conf:<br \/>\n&lt;VirtualHost *:80&gt;<br \/>\nDocumentRoot &#8220;\/Applications\/XAMPP\/xamppfiles\/htdocs&#8221;<br \/>\nServerName localhost<br \/>\n&lt;\/VirtualHost&gt;<\/p>\n<p>&lt;VirtualHost *:80&gt;<br \/>\nDocumentRoot &#8220;\/Users\/xxx\/GoogleDrive\/htdocs\/MyApp1\/webroot&#8221;<br \/>\nServerName dev.app1<br \/>\n&lt;\/VirtualHost&gt;<\/p>\n<p>&lt;VirtualHost *:80&gt;<br \/>\nDocumentRoot &#8220;\/Users\/xxx\/GoogleDrive\/htdocs\/MyApp2\/webroot&#8221;<br \/>\nServerName dev.app2<br \/>\n&lt;\/VirtualHost&gt;<\/li>\n<li>\u00a0Map custom domain to localhost in \/etc\/hosts:<br \/>\n127.0.0.1 dev.app1<br \/>\n127.0.0.1 dev.app2<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Rename &#8220;Google Drive&#8221; to one without space. Example: GoogleDrive to avoid issues Move app to that folder: \/Users\/xxx\/GoogleDrive\/htdocs\/MyApp Edit XAMPP etc\/httpd\/extra\/httpd-vhost.conf: &lt;VirtualHost *:80&gt; DocumentRoot &#8220;\/Applications\/XAMPP\/xamppfiles\/htdocs&#8221; ServerName localhost &lt;\/VirtualHost&gt; &lt;VirtualHost *:80&gt; DocumentRoot &#8220;\/Users\/xxx\/GoogleDrive\/htdocs\/MyApp1\/webroot&#8221; ServerName dev.app1 &lt;\/VirtualHost&gt; &lt;VirtualHost *:80&gt; DocumentRoot &#8220;\/Users\/xxx\/GoogleDrive\/htdocs\/MyApp2\/webroot&#8221; ServerName dev.app2 &lt;\/VirtualHost&gt; \u00a0Map custom domain to localhost in \/etc\/hosts: 127.0.0.1 dev.app1 127.0.0.1 dev.app2<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/358"}],"collection":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=358"}],"version-history":[{"count":2,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/358\/revisions"}],"predecessor-version":[{"id":361,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/358\/revisions\/361"}],"wp:attachment":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}