Apache:CGI and ERROR_LOG files

lvalics

Verified User
Joined
Feb 12, 2004
Messages
40
Hi,

I just moved from an old server a domain and now all CGI files not working.

I get Internal Server Error.
OK, I said, no problem, I will see the LOG files.
Where are they? Is empty, nothing is writing in error_log on that domain specified file.

/home/username/domains/domain.com/logs/

Why is not writing in log files the program?
Is there anything also what I should knwo about CGI files?
 
Hello,

/var/log/httpd/suexec_log

Also try just running the cgi script by hand to see the stdoutput for errors that don't show up anywhere else:

cd /home/username/domains/domain.com/public_html/cgi-bin
./script.cgi

John
 
I resolved the problem.
I thought that DirectAdmin will install PERL install DBI and DBD::mysql ...

Also I did not find the LOG file in userdir, I find it near Apache logs, as domain_error_log or something like this.
I wonder why then is a log directory in users dir??
 
Hello,

I'm assuming you're referring to:

/home/username/domains/domain.com/logs

that is just the backups for the old apache logs.

John
 
Yes, that is ...

But then how can user have access to error_log or access_log ?
 
Back
Top