Hello,

    You just have to add this line for each error number you want to overwrite into 
the httpd.conf (there are some commented ones coming with the default apache 
configuration)

    ErrorDocument 500 "The server made a boo boo." 

if you want to have a text displayed when this error appeared or:

    ErrorDocument 500 d:/www/internal_error.html

for serving a static page or 

    ErrorDocument 500 http://server_name/page_name.html

for serving an URL

Regards,
Cristian MARIN

-- 
-------------------------------------------------
Cristian MARIN - Developer
InterAKT Online (www.interakt.ro)
Tel:         +4021 312.53.12
Tel/Fax:  +4021 312.51.91
[EMAIL PROTECTED]
  "Jim Macdiarmid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
  In ASP/IIS 5.0, there is a way to have a custom error page displayed
  that will show current environment variables, etc. Is there a way to do
  this with PHP/Apache 2?
   
  Thanks in advance,
  Jim
   

Reply via email to