0

Running a CentOS 6.4 server with Plesk 11 and virtual hosts for each client/domain.

What I'm now trying to accomplish is to auto-create an error_log in each user's httpdocs folder in case of problems with the script running in this directory.

Someone who know how to do this?

HopelessN00b
  • 53,795
  • 33
  • 135
  • 209
  • What have you tried? We are not here to do work for you, but rather to help you solve problems based on issues you are having & solutions you have tried. – Giacomo1968 Mar 10 '13 at 19:17
  • @JakeGould I've just tried nothing yet because I haven't found any source to get started with. I found an apache source about creating error logs and virtual hosts but I'm not sure this is the right thing since it says that each virtual host needs its own IP adress. –  Mar 10 '13 at 19:31

1 Answers1

0

You don't have to. Plesk is already configured to create error_logs for every domain. You can find them at /var/www/vhosts/<domainname>/statistics/logs/

etagenklo
  • 5,834
  • 1
  • 27
  • 32
  • @etangenklo Generally you are right, so I marked your answer as the correct answer. However, if you read my question carefully again, I was asking to put an error_log into the httpdocs folder and only with errors of the script running in this folder, in example php fatal errors or other developing errors. In case if you know a solution for this as well, would be nice if you will update your answer. Thanks. –  Mar 23 '13 at 05:24