Re: mod_proxy delay detecting application restart

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

 



Hi Vincent,

Since I was targeting Apache 2.0.*, I didn't even check the 2.2 docs, so I missed the "retry" parameter. I tried your advice on OS X Leopard that actually has HTTPD 2.2, and it worked nicely. Now need to figure out how to upgrade my other servers...

Thanks
Andrus


On Feb 26, 2008, at 3:27 AM, Vincent Bray wrote:

On 25/02/2008, Andrus Adamchik <aadamchik@xxxxxxxxxx> wrote:
Is there a way to
configure a smaller refresh interval or avoid instance status caching
all together?

Try this:

ProxyPass /myapp/ http://localhost:8105/myapp/ retry=5

I don't know if that's right but the docs suggest it is.

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

Don't add the same to the ProxyPassReverse :-)

--
noodl

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




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