Re: Server change affecting ability to send downloaded files???

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

 



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
jerrywilborn@xxxxxxxxx


On Fri, Aug 7, 2009 at 7:16 PM, Ben Dunlap <bdunlap@xxxxxxxxxxxxxxxxxx>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
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux