Hi,I installed Apache 2.4.3 with vhosts and in the httpd.conf, for each vhost, I have the usual CustomLog and Errorlog directive:
CustomLog "/httpd/domainname/logs/access_log" combined Errorlog "/httpd/domainname/logs/error_log"The CustomLog results go to the folder indicated as usual (in each vhost folder), but the Errorlog is reacting bizarre.
If I make a voluntary error in my Perl script, I get in the /httpd/domainname/logs/error_log:
[Tue Mar 19 20:19:25.500222 2013] [cgid:error] [pid 17263:tid 2921331520] [client 24.122.245.237:56995] End of script output before headers: testerreur.pl
And in the Apache error log (/httpd/usr/local/apache2/logs/error_log), I get the real error message that I need:
syntax error at testerreur.pl line 43, near ","Problem is that I want the error logging to go the local folder of each vhost (which is what is happening on my other servers with previous versions of Apache).
Much easier to debug a Perl script when the logs go into each vhost folder instead of going in a global error log file.
Also, If I make a minor Mysql error in the Perl script, I get no message in the vhost folder error file, but I still get the error (or warning) in the global Apache error log file.
Any idea where I can search? BTW, I treid to use: ErrorLog "/httpd/domainname/logs/error_log" instead of Errorlog "/httpd/domainname/logs/error_log" No joy... Thank you in advance, Pierre Forget --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx