Have you tried just using the php header() function to override the
default headers that apache generates?
ie:
header('Keep-Alive: timeout=15, max=98');
header('Connection: Keep-Alive');
drmikecrowe wrote:
> Hi folks,
>
> I'm porting RoR app to symfony, and the client is starting to talk to
> my system now. Unfortunately, he says that my server is "closing" the
> connection between his first call and his immediate 2nd call.
>
> I checked the RoR/Apache config, and don't see anything apparently
> different in the two configs. KeepAlive's are both on, timeout is the
> same, a pretty standard config.
>
> When I call my app manually, here's the response headers:
>
> -----------------------------------------------------------------------------------
> Date: Wed, 24 Oct 2007 21:48:28 GMT
> Server: Apache/2.2.3 (Ubuntu) mod_jk/1.2.18 mod_python/3.2.10 Python/
> 2.5.1 PHP/5.2.1 mod_ruby/1.2.6 Ruby/1.8.5(2006-08-25) mod_ssl/2.2.3
> OpenSSL/0.9.8c
> X-Powered-By: PHP/5.2.1
> Etag: 832205ba57e2a83dad6e6ceafc2ea031
> Content-Length: 86
> Connection: close
> Content-Type: text/xml; charset=utf-8
>
> 200 OK
> ------------------------------------------------------------------
>
> Here's the response headers on the "good" server:
>
> ------------------------------------------------------------------
> Date: Wed, 24 Oct 2007 22:06:06 GMT
> Server: Apache/2.0.52 (Unix) PHP/4.3.9 mod_ssl/2.0.52 OpenSSL/0.9.7a
> Cache-Control: no-cache
> Set-Cookie: _session_id=bcf4c48f6b0dfe6b34e0b8dbd7baeb4e; path=/
> Keep-Alive: timeout=15, max=98
> Connection: Keep-Alive
> Transfer-Encoding: chunked
> Content-Type: application/xml
>
> 200 OK
> ------------------------------------------------------------------
>
> How can I change that Connection flag? What am I doing wrong here?
>
> Please help!
>
> TIA
> Mike
>
>
> >
--
Evan Fribourg
Director of Software Development
Click Group, Inc.
p: 415.543.9411 x520
f: 415.543.9412
e: [EMAIL PROTECTED]
w: www.clickgroupinc.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---