home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Internet Business Development Kit / PRODUCT_CD.iso / ftpage / disk7 / errorlog.ht_ / errorlog.ht
Encoding:
Text File  |  1995-09-07  |  1.9 KB  |  50 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
  2.  
  3. <HTML>
  4.  
  5. <HEAD>
  6. <TITLE>ErrorLog Directive</TITLE>
  7. <META NAME="GENERATOR" CONTENT="Vermeer FrontPage 1.0">
  8. </HEAD>
  9.  
  10. <BODY>
  11. <H1>ErrorLog directive</H1>
  12. <HR>
  13. <H2>Purpose</H2>
  14. <P>The ErrorLog <A HREF="../configur.htm#Directive">directive</A> sets the file to which httpd will log errors it encounters. It currently logs the following error 
  15. conditions:</P>
  16. <P></P>
  17. <UL>
  18. <LI>Clients which time out </LI>
  19. <LI>Scripts which produce no output </LI>
  20. <LI><A HREF="../access/overview.htm">#haccess.cnf</A> files which attempt to override things they do not have permission to </LI>
  21. <LI>Server bugs which produce a segmentation violation or bus error </LI>
  22. <LI><A HREF="../access/overview.htm#user_auth">User Authentication</A> configuration problems </LI>
  23. </UL>
  24. <HR>
  25. <H2>Syntax</H2>
  26. <P><CODE>ErrorLog file</CODE> </P>
  27. <P><CODE>file</CODE> is the name of the file to which errors will be logged. It is either a full pathname, or a partial pathname relative to 
  28. <A HREF="serverro.htm">ServerRoot</A>. </P>
  29. <P>Only one ErrorLog directive is allowed in the configuration file. </P>
  30. <P></P>
  31. <HR>
  32. <H2>Default</H2>
  33. <P>If you do not specify an ErrorLog, httpd assumes: </P>
  34. <P><CODE>ErrorLog logs/error.log</CODE> </P>
  35. <P></P>
  36. <HR>
  37. <H2>Examples</H2>
  38. <P><CODE>ErrorLog logs/errors</CODE> </P>
  39. <P>This logs errors to the file logs/errors in the <A HREF="serverro.htm">ServerRoot</A> directory. </P>
  40. <P><CODE>ErrorLog /tmp/httpderr.log</CODE> </P>
  41. <P>This logs errors to the file <CODE>/tmp/httpderr.log</CODE>. </P>
  42. <P><CODE>ErrorLog NUL:</CODE> </P>
  43. <P>This effectively turns off error logging, <B>not recommended!</B>.</P>
  44. <P><A HREF="overview.htm"><IMG SRC="../../images/back.gif" ALIGN=bottom BORDER=2 WIDTH=40 HEIGHT=40>Return to Server Configuration File Overview</A> </P>
  45. <HR>
  46. <P>Copyright (C) 1995 Vermeer Technologies, Inc. All rights reserved. </P>
  47. </BODY>
  48.  
  49. </HTML>
  50.