Re:

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

 



On Thu, Aug 8, 2013 at 7:12 AM, <zstrebly@xxxxxxxxxxxxxx> wrote:

---- Jeff Trawick <trawick@xxxxxxxxx> wrote:
> On Wed, Aug 7, 2013 at 6:48 PM, <zstrebly@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >
> >
>
>
> --
> 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/

[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