|
|
10.5: Use Apache virtual hosts outside the Sites folder
1. From memory, the web user and group are both _www in 10.5. It was changed from www in 10.4. 2. Why not assign the web usergroup to your homedir? # chown -R :_www ~/Documents
Then just set permissions based on the group. From memory, if "x" isn't present, you can't navigate into directories. 3. Why not use /Library/Webserver for all your snippets etc and /Library/WebServer/Documents for your web accessible stuff? A lot safer than changing permissions on your homedir. There's also the option of creating symbolic links and/or apache aliases.
10.5: Use Apache virtual hosts outside the Sites folder
The group is indeed '_www'. Running 'chgrp www' on a directory effectively changes group ownership to '_www'. Granted, it would have been more precise to included the underscore. Likewise, my wording was pretty shabby in the post -- it was late and I had been racking against this issue for awhile. :)
10.5: Use Apache virtual hosts outside the Sites folder
Additionally, in this case -- for a reason unknown to me -- it's not required that the assignment of group permissions be recursive. Weird, right? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.41 seconds |
|