I am in the process to migrate to a new web server and I would like to have a clean and safe file architecture for apache and my web application.
The server will serve one single php/mysql application. This application receive files from FTP and webservices and generate logs files.
The server OS is CentOS 5.4.
The default Apache document root is
Should I put my web application directory under :
- Somewhere else?
The application directory should be owned by the
root user or
apache user or an other user?
Thanks for your help.