Re: HTTP Status Code problem
Howard May <Howard.May-3Vf4qVogE1JWk0Htik3J/[email protected]> Fri, 22 Jan 2010 11:38:35 -0500
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm pretty sure it's not a server configuration problem as when I add FCGX_FPrintF(request.out, "Status: 200 OK\r\n As you suggested it works fine! I had presumed that Abyss would handle the HTTP header for me. Thanks for your help Regards > -----Original Message----- > From: fastcgi-developers- > bounces+howard.may=dialogic.com-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org [mailto:fastcgi- > developers-bounces+howard.may=dialogic.com-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org] On Behalf > Of Aron Szabo > Sent: 22 January 2010 16:34 > To: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org > Subject: Re: [FASTCGI] HTTP Status Code problem > > Hi! > > You get 404 and your XML packet is transferred ? Are you sure that your > application receives the request? How do you connect your app with the > webserver ? > > Header sould be sent out like this: > FCGX_FPrintF(request.out, "Status: 200 OK\r\nContent-Type: > application/xml\r\n\r\n"); > > But I think you have a server configuration problem... > > Aron Szabo > Pointless Software > http://pointless.hu > > On 01/22/2010 03:50 PM, Howard May wrote: > > Hi, > > > > My fastCGI App is serving up small XML packets with MIME type > application/xml. The problem is that my client is reporting an HTTP Status > of 404 which I presume is being added by my Web Server (Abyss). Is there > something I need to be doing in my fastCGI app to prevent this? > > > > Best Regards > > > > > > > > > > _______________________________________________ > > FastCGI-developers mailing list > > FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org > > http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers