logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: apache documentroot
Author
jack111



Joined: 10 Jul 2008
Posts: 3

PostPosted: Wed 23 Jul '08 10:51    Post subject: apache documentroot Reply with quote

what is the ideal place for the apache document root. Both from a security and efficency point of view
The default usually is something like /usr/local/apache/htdocs.

Also what permissions to give the documentroot directory. So far have run the documentroot with root permissions but would it be better to run it with out root permissions.

thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 24 Jul '08 9:31    Post subject: Reply with quote

You are using which linux? There is no "the path". you can set wat ever you want. Only set the permissions to the www user and group to www (depends on your distro). Run your apache under the www user and group.
NEVER use root as user.
Back to top


Reply to topic   Topic: apache documentroot View previous topic :: View next topic
Post new topic   Forum Index -> Apache