Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Customized 404 is not working


Hi,

I have created a customized 404.html file under web/www/ directory. Now when I add:
ErrorDocument 404 /web/www/404.html in httpd.conf and restart the server, instead of showing the customized 404 page the browser still shows the default 404 page with one more line:
"Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

I am sure that I have typed right path to the file. In addition when I just add ErrorDocument 404 "Sorry! couldn't find the page" in httpd.conf, it works perfect.

Any help will be much appreciated.

Thanks.
View Original Thread
Comments
0
Be the first to comment

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect
avatar
Tags: 404, errordocument, showing
Re: Release Geronimo Customized Tomcat 7.0.0.1
Jun 1, 2010
I took a look. The only unusual thing that I noticed was a reference to the SNAPSHOT version still (7.0.0.1-SNAPSHOT) in catalina. But I'm not sure how critical this is. It is in the catalina jar pom.xml and ServerInfo.properties and is …

Re: Release Geronimo Customized Tomcat 7.0.0.1
Jun 1, 2010
How were the LICENSE and NOTICE files built? They seem to be generic... However, the original Tomcat license/notice files have multiple licenses and notice information... --kevan On May 24, 2010, at 2:21 AM, Ivan wrote: > Please vote for…

Re: Release Geronimo Customized Tomcat 7.0.0.1
Jun 1, 2010
Ok, time for a slightly less gentle reminder. This component is the last item that needs to be resolved before cutting the Geronimo 3.0-M1 release. I think we need a couple more votes to wrap this up. Please take the time to give this some…

Re: Release Geronimo Customized Tomcat 7.0.0.1
May 27, 2010
+1 Build worked. Only rat failure was for an empty file - catalina/src/main/resources/org/apache/ServerInfo.properties -Donald On 5/24/10 2:21 AM, Ivan wrote: > Please vote for Geronimo Customized Tomcat 7.0.0.1 > a. Recently, Tomcat…

How to implement a customized message DispatchPolicy?
Jun 2, 2010
Hi, I would like to know how to write my own DispatchPolicy. My case is a variation of the RoundRobinDispatchPolicy but with some quirks. Is there helpful examples somewhere of how to successfully customize the DispatchPolicy? Something like a…

Created: (HTTPCLIENT-983) Missing a constructor in CachingHttpClient, to provide both customized responseCachingPolicy, etc. and maxObjectSize
Aug 20, 2010
Missing a constructor in CachingHttpClient, to provide both customized responseCachingPolicy, etc. and maxObjectSize

@Many doesn't seem to be working
Aug 25, 2010
I have the following simple example that should be working (independently they do) but the "many=@Many" result for the rolesAdopted property (that should be calling the "getUserRolesByName" and executing the constructor for instantiating an…

JAX-RS not working
Aug 16, 2010
Hi I am unable to deploy JAX-RS and JAX-WS web services in Tomcat/JBoss. I believe there is something wrong with the beans.xml file. <jaxws:endpoint id="hello" implementor="#helloRest" address="/Hello"/> …

Working C example?
May 27, 2010
Hi, looking in the http://activemq.apache.org/c-integration.html C cross-client implementations http://svn.apache.org/repos/asf/activemq/sandbox/openwire-c/ OpenWire and http://svn.stomp.codehaus.org/browse/stomp/trunk/c/ STOMP C…

Tomcat isn't working with JRE
Aug 31, 2010
I've been using tomcat for a long time, and so far, i've always been using tomcat on a computer with a JDK installed. Now, i have to deploy a web application using tomcat 6.0 on a virtual machine , on which there's no JDK installed, but only a…