Originally Posted by mtaylor314
My problem is I need root privileges to edit anything under /var/www, which I prefer not to edit things with those privileges, and if I set my DocumentRoot to a directory in my user's folder, firefox says I don't have access to view "/". What is the best way to develop web sites with this set up?
Apache runs the php files as a certain user (could be called "apache", depending on your setup). That user needs to be able to read the php files. Off course, you will need write permission. With this information, you can set the rights for any directory under /var/www
the user "apache" (or whatever it is called) has a default group as well. If you make yourself member of that group, you can make every file user-writeable and group-readable and change the group ownership to that group.