Re: implementing an SLA for a request in apache

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

 



On Fri, Jul 3, 2009 at 6:56 PM, Neal Richter<nrichter@xxxxxxxxx> 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@xxxxxxxxx
krist@xxxxxxxxxxxxx
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@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