Google Drive, XAMPP, MacBook

  1. Rename “Google Drive” to one without space. Example: GoogleDrive to avoid issues
  2. Move app to that folder: /Users/xxx/GoogleDrive/htdocs/MyApp
  3. Edit XAMPP etc/httpd/extra/httpd-vhost.conf:
    <VirtualHost *:80>
    DocumentRoot “/Applications/XAMPP/xamppfiles/htdocs”
    ServerName localhost

    <VirtualHost *:80>
    DocumentRoot “/Users/xxx/GoogleDrive/htdocs/MyApp1/webroot”
    ServerName dev.app1

    <VirtualHost *:80>
    DocumentRoot “/Users/xxx/GoogleDrive/htdocs/MyApp2/webroot”
    ServerName dev.app2

  4.  Map custom domain to localhost in /etc/hosts: dev.app1 dev.app2

Comments (0)

› No comments yet.

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Pingbacks (0)

› No pingbacks yet.