Skip to content

Instantly share code, notes, and snippets.

@icemancast
Created November 28, 2011 04:11
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 icemancast/1399062 to your computer and use it in GitHub Desktop.
Save icemancast/1399062 to your computer and use it in GitHub Desktop.
Add new site alias
(Add this to /usr/local/etc/aliases.conf)
Alias /my_organization/my_company/my_project/ "/Users/[your_user]/Sites/projects/my_organization/my_company/my_project/web/"
<Directory "/Users/[your_user]/Sites/projects/my_organization/my_company/my_project/web/">
Options -Indexes FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Finally, restart Apache:
apache restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment