Log Files Access service

As we can see in the Apache webspace structure and WebHosting Linux NG webspace structure KB articles webspace permissions do not allow webspace owner to get direct access to the Apache log files (the log folder in a webspace belongs to root:pemsrv and usual FTP user does not have access to this folder). A Customer cannot get access to their log files using regular FTP service or Linux File Manager.

Access to the Apache log files in Customer's webspaces is provided through a special service - Log Files Access. A Customer must have special resource based on the Logfiles access (downloading) support resource class in their Linux Shared Hosting subscription.

If a Customer has above mentioned resource in a subscription, Odin Automation creates special FTP user with the auto-generated name like lfauWEBSPACE_ID, where u is single character and WEBSPACE_ID is the ID of a Customer webspace.

This user is included into the pemsrv group and thus is provided with access to the folder where Apache log files are located in a webspace - /usr/local/pem/vhosts/WEBSPACE_ID/log (in case of Linux Shared Hosting) and /var/www/vhosts/mount_point_id/WEBSPACE_ID/log (in case of WebHosting Linux NG) (because the pemsrv has group ownership on the folder).

A Customer having the required resource in a subscription may download Apache log files stored in their webspace in OA Customer Control Panel on the Websites tab > click on any website in webspace > More Tools > Log Manager:

Upon clicking the Show FTP Directory link in browser the new window will be open with the list of Apache log files a Customer may download.

A Customer also may connect to their webspace using FTP under the special user described above and they will get access to the folder with log files.

See the main KB articles for more information:

Internal content