Hello all, I have an application that is build in two tiers, where Apache httpd is before an Apache Tomcat where I execute an Apache Cocoon web app. I tried with ErrorDocument 503 "error 1" ErrorDocument 500 "error 2" Now if I do not start tomcat I see the "error 1" page like I expected with the header: Status=Service Temporarily Unavailable - 503 However when my cocoon app is returning a page with stacktrace and the http header 500, the httpd is ignoring the ErrorDocument. Status=Internal Server Error - 500 Discussing the issue with my colleagues it seems that the ErrorDocument does not analysis the header of the response but only will use the directive if the error occurred in the same httpd server. Maybe it is the way we are accessing the tomcat from our httpd server. We are using simple "RewriteRule". How can I tell httpd to use the ErrorDocument when my servlet response with Status=Internal Server Error - 500? TIA for any information. salu2 -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions --------------------------------------------------------------------- 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