Control Web Panel
WebPanel => CentOS 6 Problems => Topic started by: winsonet on August 28, 2015, 02:12:05 PM
-
I know the default server logs will be save in below folders:
/var/log/httpd
/var/log/cwp
but the problem is there's no file can be update in these folders, so when my website occur 500 error, I also can't find any logs, I tried to set the folder's user right but still can't work, any ideas?
Thanks!
-
Ok, I solved this issue by create the log for each website, so set the log config under each VirtualHost as below:
ErrorLog "/home/www/error.log"
CustomLog "/home/www/custom.log" common
but still don't know why there is no log in common log folder~
-
/usr/local/apache/logs/