|
Posted by ChillAxen on 12/26/06 22:58
Hello all,
I have a new dedicated box that I use and with their default setup I
keep getting
HTTP/1.1 500 Internal Server Error
when I use the PHP script:
<?php Header("HTTP/1.1 431 Hey"); ?>
I know it's because I am using headers outside of the documented
numbers, but I use these header numbers in Flash for debugging on file
uploading. Flash doesn't support returning of data when uploading a
file. All it supports is returning successful (200) or Failed, which
it returns the number. I then use these numbers to return the correct
error (a simple case select of numbers).
Can someone please help me figure out what would cause this error? On
two other boxes that I tested, it works fine, while on this new box and
one other that I have it does cause it. The two boxes it works on are
hosting boxes while the 3rd one it causes the [HTTP/1.1 500 Internal
Server Error] was a simple bear leave installation of PHP/Apache. The
new box is completely customized for AxisHost.com and since I used
managed I don't have root to access their httpd.conf or PHP.ini. Seeing
that I have one that causes the same error which I do have root to,
fixing it on there will probably be exactly the same as on my new box.
Once see that the fix works, I can pass this on to the admins,
I would have to assume its simply a line I have to add/change to my
Apache configure file. Maybe even PHP, but I searched through the
whole php.ini and didn't find anything that was comments to relate to
this.
Thank you so much and merry xmas
Anthony F Greco
www.ChillAxen.com
Coder Guru inc,
[Back to original message]
|