Howto manage website and user permissions with apache on Mac os X

Posted by Sander Versluys on Super User See other posts from Super User or by Sander Versluys
Published on 2011-03-13T23:03:26Z Indexed on 2011/03/14 0:12 UTC
Read the original article Hit count: 394

Filed under:
|
|

I have lots of different websites in a Development directory in my home dir.

While developing, files get saved under my username but websites configured under apache it's permission need to be set as _www user and group.

What's the best way to handle this?

  • Do I run apache under a different user/group?
  • Do I run my development tools under a different user?
  • Do add myself to the _www group? (seems like it doesn't work btw)

I've just switched to a mac and I'm trying to find a smooth development workflow, so it would be best if i could just run the necessary tools, save some files and be able to test the website without much hassle.

Thanks!

© Super User or respective owner

Related posts about mac

Related posts about permissions