httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [users@httpd]
Date Thu, 08 Aug 2013 13:36:11 GMT
On Thu, Aug 8, 2013 at 7:12 AM, <zstrebly@roadrunner.com> wrote:

>
> ---- Jeff Trawick <trawick@gmail.com> wrote:
> > On Wed, Aug 7, 2013 at 6:48 PM, <zstrebly@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-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> > >
> >
> >
> > --
> > Born in Roswell... married an alien...
> > http://emptyhammock.com/
> Thank-You for your reply. How can I implement an authorizer role , for
> example, without sending back the headers from the script? When I try to
> send a suitable header  the server’s response blocks the header that I am
> attempting to send from the script. I already had the FcgidOutputBufferSize
> set to zero.
>
> Zoltan
>

I'm not sure.  Can you post a sample, complete response from your
authorizer?

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

Mime
View raw message