Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer
    
Thank you - that's exactly what I was looking for –  Kasia Gogolek Jul 11 '12 at 10:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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