Month: May 2013

  • Google Drive, XAMPP, MacBook

    Rename “Google Drive” 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: <VirtualHost *:80> DocumentRoot “/Applications/XAMPP/xamppfiles/htdocs” ServerName localhost </VirtualHost> <VirtualHost *:80> DocumentRoot “/Users/xxx/GoogleDrive/htdocs/MyApp1/webroot” ServerName dev.app1 </VirtualHost> <VirtualHost *:80> DocumentRoot “/Users/xxx/GoogleDrive/htdocs/MyApp2/webroot” ServerName dev.app2 </VirtualHost>  Map custom domain to localhost in /etc/hosts: 127.0.0.1 dev.app1 127.0.0.1 dev.app2