Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: apache documentroot |
|
Author |
|
jack111
Joined: 10 Jul 2008 Posts: 3
|
Posted: Wed 23 Jul '08 10:51 Post subject: apache documentroot |
|
|
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
|
Posted: Thu 24 Jul '08 9:31 Post subject: |
|
|
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 |
|
|
|
|
|
|