You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jonathan Villa <Jo...@solutrak.com> on 2006/11/03 20:39:21 UTC

RE: [users@httpd] Altering the Configuration f.ie

I'm not positive, but I think where you have

ErrorDocument 404 "Here is my message. "

you want something like this


ErrorDocument 404 myCustomizedErrorDOCUMENT.html

----- Original Message -----
From: Mark Kenyon 
Sent: Thu, 11/2/2006 5:53pm
To: users@httpd.apache.org
Subject: [users@httpd] Altering the Configuration f.ie

I am a novice to using Apache and I am trying to experiment  with changing the basic configurtion in order to display a different error message when a file is not found.

I tried two different approaches, neither of which have worked:

1. Create a new configuration file (myError.conf) containing 

  ErrorDocument 404 "Here is my message. "

Add 

  Include conf/extra/myError.conf 

to httpd.conf

2.  Insert 

   ErrorDocument 404 "Here is my message. "

directly into the httpd.conf file.

I'm not sure why this is not working. Any help much appreciated. 

Mark

  


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org