Header("HTTP/1.1 431 Hey"); returns HTTP/1.1 500 Internal Server Error

This is a discussion on Header("HTTP/1.1 431 Hey"); returns HTTP/1.1 500 Internal Server Error within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hello all, I have a new dedicated box that I use and with their default setup I keep getting HTTP/...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-26-2006
ChillAxen
 
Posts: n/a
Default Header("HTTP/1.1 431 Hey"); returns HTTP/1.1 500 Internal Server Error

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,

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:10 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0