Re: adding and editing response headers in conf

2011-06-16 Thread Joe Lewis
On Thu, 2011-06-16 at 18:57 +0200, Sorin Manolache wrote: > On Thu, Jun 16, 2011 at 18:41, Joe Lewis wrote: > > On Thu, 2011-06-16 at 12:32 -0400, Shawn Ligocki wrote: > > > >> On Thu, Jun 16, 2011 at 11:57 AM, Joe Lewis wrote: > >> > >> > On Thu, 2011-06-16 at 17:46 +0200, Sorin Manolache wrote

Re: adding and editing response headers in conf

2011-06-16 Thread Sorin Manolache
On Thu, Jun 16, 2011 at 18:41, Joe Lewis wrote: > On Thu, 2011-06-16 at 12:32 -0400, Shawn Ligocki wrote: > >> On Thu, Jun 16, 2011 at 11:57 AM, Joe Lewis wrote: >> >> > On Thu, 2011-06-16 at 17:46 +0200, Sorin Manolache wrote: >> > >> > > >> > > Can I get this response just by changing the confi

Re: adding and editing response headers in conf

2011-06-16 Thread Joe Lewis
On Thu, 2011-06-16 at 12:32 -0400, Shawn Ligocki wrote: > On Thu, Jun 16, 2011 at 11:57 AM, Joe Lewis wrote: > > > On Thu, 2011-06-16 at 17:46 +0200, Sorin Manolache wrote: > > > > > > > > Can I get this response just by changing the configuration of apache? > > > > > > "Header edit cookie_name

Re: adding and editing response headers in conf

2011-06-16 Thread Shawn Ligocki
On Thu, Jun 16, 2011 at 11:57 AM, Joe Lewis wrote: > On Thu, 2011-06-16 at 17:46 +0200, Sorin Manolache wrote: > > > Hello, > > > > I have a content generator that sets a cookie on a domain. I know the > > cookie name and the domain name, they never change. However the cookie > > value and expira

adding and editing response headers in conf

2011-06-16 Thread Sorin Manolache
Hello, I have a content generator that sets a cookie on a domain. I know the cookie name and the domain name, they never change. However the cookie value and expiration time vary. I would like to add the cookie with same name and value, and optionally the same expiration time to a second domain. I

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Eric Covener
On Thu, Jun 16, 2011 at 10:57 AM, Henrik Strand wrote: > Hi Ben, > > I've tried that but with no success. The problem (i.e., that the > connection is closed) still remains. Check out mod_proxy_fdpass in trunk, which replaces the socket httpd is using and lets the external process "finish" the con

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Henrik Strand
Hi Ben, I've tried that but with no success. The problem (i.e., that the connection is closed) still remains. Best Regards, Henrik On Thu, 2011-06-16 at 13:44 +0200, Ben Noordhuis wrote: > On Thu, Jun 16, 2011 at 10:32, Henrik Strand wrote: > > I've tried writing data to the socket directly aft

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Ben Noordhuis
On Thu, Jun 16, 2011 at 10:32, Henrik Strand wrote: > I've tried writing data to the socket directly after my non-httpd daemon > process receives the socket descriptor and this results in that the > client receives this data. However, very shortly afterwards the > connections is closed and I'm not

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Sorin Manolache
On Thu, Jun 16, 2011 at 10:32, Henrik Strand wrote: > Hi, > > I need to transfer the socket descriptor for a client > connection from the Apache httpd process to a non-httpd process running > on the same system as Apache httpd, thus transferring the server > response responsibility from Apache htt

Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Henrik Strand
Hi, I need to transfer the socket descriptor for a client connection from the Apache httpd process to a non-httpd process running on the same system as Apache httpd, thus transferring the server response responsibility from Apache httpd to the non-httpd process (i.e., the Apache httpd process must