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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux