httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] implementing an SLA for a request in apache
Date Mon, 06 Jul 2009 10:39:30 GMT
On Fri, Jul 3, 2009 at 6:56 PM, Neal Richter<nrichter@gmail.com> wrote:
> Hi,
>
>  Here's a problem I'd like to solve.  Configure apache to receive a
> request and proxy/forward it off to a backend app server (tomcat) ..
> wait a specified period of time .. and no response is received send
> back a static file or a return code like 204.

There is a ProxyTimeout directive that allows you to set a timeout to
proxy requests. That combined with an ErrorDocument ought to do it.

Eg.

ProxyTimeout 300
ErrorDocument 504 /errorpages/504.html

krist




-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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


Mime
View raw message