1
2
3
4
5
6
#  To avoid the 403 Forbidden error when browsing sites in your ~/Sites folder
#  add the apache user "_www" to the staff group... 
#  Note: sometimes staff may be admin if you're upgrading from earlier OS X
#
#  Solution for OS X Leopard's dscl tool (Directory Service Command Line)
sudo dscl . -append /Groups/staff GroupMembership "_www"