Skip to content

Instantly share code, notes, and snippets.

@mrdanadams
Created November 22, 2011 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrdanadams/1386974 to your computer and use it in GitHub Desktop.
Save mrdanadams/1386974 to your computer and use it in GitHub Desktop.
VirtualBox on Mac
<VirtualHost *:80>
#...
DocumentRoot /var/www/yoursite
Options FollowSymLinks
<Directory />
Options FollowSymLinks
AllowOverride FileInfo
</Directory>
<Directory /var/www/yoursite>
Options Indexes FollowSymLinks MultiViews
AllowOverride FileInfo Indexes
Order allow,deny
allow from all
</Directory>
#...
</VirtualHost>
127.0.0.1 localhost yoursite.dev yourothersite.dev
192.168.56.101 ubuntu yoursite.dev yourothersite.dev
$ sudo mkdir /mnt/host-home
$ mount -t vboxsf -o uid=33,gid=33 host-home /mnt/host-home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment