Re: Keepalive and Rewrite rules in Apache 2.2

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

 



----- "Kiran saligrama" <kiransk@xxxxxxxxx> wrote:

> Hi
> 
> We have been using Rewrite rules with Apache 2.0 to expose multiple
> back-end servers. We have had very good success and when we upgraded
> to Apache 2.2, the Rewrite connections do not honor keepalive
> directive anymore. The documentation does say that by default
> keepalive is not used and when we started using Proxy directives
> instead of rewrite rules, keepalive behavior is more on the expected
> lines.

Why oh, why, do you use mod_rewrite for proxying?

> When I looked at mod_proxy source code this default behavior seems
> something that changed in 2.2. Can someone confirm whether this is
> indeed the case and any rational for changing the default behavior
> would be very beneficial for me.

Yes. Since after 2.2.9 a lot in the mod_proxy code has changed.

Check the documentation on the flags for adapting the flags as needed.

http://httpd.apache.org/docs/current/mod/mod_proxy.html
and in particular:
http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass

Also make sure you're using something >= 2.2.12 (or 2.2.14? or just
go with the latest bestest release)

> Thanks
> Kiran

-- 
Igor GaliÄ

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/

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