On Wed, Aug 7, 2013 at 6:48 PM, <zstre...@roadrunner.com> wrote:

> I am using mod_fcgid with apache 2.4. Is there a FastCgiConfig equivalent
> or a way that I can get the same result as if I set the –flush option on
> FastCgiConfig in a mod_fastcgi application. I need to send custom headers
> from my application. Put another way I want to send the equivalent of a cgi
> nph-file.
>

NPH CGI is significantly different than just -flush AFAICT.

mod_fastcgi's -flush says to flush to the network as data is read.

For mod_fcgid, see
http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidoutputbuffersize.
 Set that directive to a small value, and mod_fcgid will also flush as it
reads data.

NPH is something else in addition to no buffering -- the script creates the
entire HTTP response. mod_fastcgi's -flush option doesn't circumvent the
normal protocol handling of the core server, specifically building of a
proper HTTP response.



>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Reply via email to