I'm trying to mimic my web server on my local server for testing PHP/MySQL setups, but I can't get it to work. Basically, PHP cannot write to or open a file in my site directory. So, I have two questions:
How can I setup the htdocs directory so that I can edit/create the files in it and the user nobody (for apache) can edit/create files?
Also, how can I set up httpd.conf so that it will only allow the localhost to connect, and no one from the outside?