PDA

View Full Version : Apache:CGI and ERROR_LOG files


lvalics
02-17-2004, 02:14 AM
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?

DirectAdmin Support
02-17-2004, 09:44 AM
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

lvalics
02-17-2004, 09:55 AM
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??

DirectAdmin Support
02-17-2004, 10:33 AM
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

lvalics
02-17-2004, 10:34 AM
Yes, that is ...

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

DirectAdmin Support
02-17-2004, 10:37 AM
User Panel -> Account Info/Stats -> Apache Usage Log / Apache Error Log

John