I've installed XAMPP on my Mac running Lion and I've set the DocumentRoot to Users/myusername/Sites. Apache runs as myusername/_www (user/group, 755) and everything is OK, my browser can access all pages without any problem.
BUT I'd like to increase security, as some HTML pages are to be accessed from the Internet, not only locally.
So I set Apache to run as _www/_www, I changed all permissions of my Users/myusername/Sites folders and files to _www/_www (755 too) and I restarted Apache.
The problem is : nothing works... All access is forbidden, and all I got is (13)Permission denied: access to / denied in the console.
And I can't understand why. What's going on?
_www(psoutput?)? Are all parent directories of your Sites directory executable (traversable) by Apache? – Daniel Beck Dec 2 '11 at 18:21_wwwand 1 httpd process asroot. – JYF Dec 3 '11 at 12:39Usersis set toroot/adminandmyusernameis set tomyusername/admin. Is there something to be done there to allow Apache (running as_www) to accessUsers/myusername/Sites/? – JYF Dec 3 '11 at 12:44755for all directories. – JYF Dec 3 '11 at 19:55