13.06.2015 Views

Introduction to the Apache Web Server - ApacheCon

Introduction to the Apache Web Server - ApacheCon

Introduction to the Apache Web Server - ApacheCon

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Au<strong>the</strong>ntication error<br />

[Tue Apr 11 22:13:21 2000] [error] [client 192.168.1.3] user rbowen<br />

au<strong>the</strong>ntication failure for "/cgi-bin/hirecareers/company.cgi":<br />

password mismatch<br />

• CGI errors<br />

Wed Jun 14 16:16:37 2000] [error] [client 192.168.1.3] Premature<br />

end of script headers:<br />

/usr/local/apache/cgi-bin/TestProg/announcement.cgi<br />

Global symbol "$rv" requires explicit package name at<br />

/usr/local/apache/cgi-bin/TestProg/announcement.cgi line 81.<br />

Global symbol "%details" requires explicit package name at<br />

/usr/local/apache/cgi-bin/TestProg/announcement.cgi line 84.<br />

Global symbol "$Config" requires explicit package name at<br />

/usr/local/apache/cgi-bin/TestProg/announcement.cgi line 133.<br />

Execution of /usr/local/apache/cgi-bin/TestProg/announcement.cgi<br />

aborted due <strong>to</strong> compilation errors.<br />

16.5.1 Things <strong>to</strong> remember!<br />

• The error log is your friend<br />

• tail -f /usr/local/apache/logs/error_log<br />

• Watch <strong>the</strong> log while you are working on stuff.<br />

16.6 Logfile reporting<br />

16.6.1 What your log file tells you<br />

• Address of remote machine<br />

• Time of visit<br />

• Resource requested<br />

• What’s broken<br />

16.6.2 What your log file does not tell you<br />

• Who is visiting<br />

– Proxies<br />

– Caches<br />

101

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!