Is there a way of adding a logs folder as part of default Plesk skeleton? I would like to include error logging into a file in the vhost directory as a part of vhost.conf in /var/www/vhosts/.skel/0 but I don't want to risk the server tripping if the developer fails to add it to the folder.

I know that skeleton only accepts:

  • httpdocs
  • conf
  • cgi-bin
  • anon_ftp
  • error_docs

but is there any way around it?


You could probably code a simple script called after each new domain creation and putting your files or folder in a domain. You can find more information in Event Handlers topic of Plesk documentation


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.