Chintan Kachhi wrote:
Thanks for the replies... I guess that can't be done then, but after thinking a bit, I think that I am probably looking for the scenario where a service is down on a server, rather than the server itself. Let's assume that I get the following response when the service is down: HTTP/1.1 404 Not Found Is there a way with apache rewrite module to redirect the page based on this response? So for example, something as follows: If the response code is 404, then redirect to custommessage.html, where I put my custom error message in custommessage.html?
http://httpd.apache.org/docs/2.2/mod/core.html#errordocument --------------------------------------------------------------------- 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