Created a user, created ftp. The site from the folder is loaded (lies in the user's home).
The question of how to add to the user (so that you can access via ftp), also Apache log files, etc. (what he needs for work).
The most logical way is to configure the http- server to save logs for the selected site in the home directory of the same user who also has the docroot of the site itself.
quite common practice:
# mkdir /домашний/каталог/пользователя/{logs,www}
site logs
are stored in the logs directory, in the www
- docroot site directory .
addition
The location (and number of details) of the log files can be specified in the corresponding virtualhost :
Source: https://ru.stackoverflow.com/questions/439953/
All Articles