The 500 is the result of the missing content-type in the real header. Once
you get a blank line in there, it thinks thats the content.  The error log
will likely say 'premature end of script headers'... Good mystery on why
it's got the blank line though.

Jerry Wilborn
jerrywilb...@gmail.com


On Fri, Aug 7, 2009 at 7:16 PM, Ben Dunlap <bdun...@agentintellect.com>wrote:

> > Very interesting. Excellent debugging advice. It's giving me a 500
> > error, probably why the Rackspace techs told me to check my code:
> >
> > HTTP/1.0 500 Internal Server Error
>
> Did you get that 500 while running curl from a machine outside of
> Rackspace's
> network?
>
> If so, I'd be interested to see what you get if you run it from the
> server's
> command line (using 'localhost' in the URL you pass to curl).
>
> Have you checked your Apache error log as well, and PHP's? There will
> usually
> be more detail in those locations when the server sends a 500.
>
> Ben
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to