Re: Intentionally generate an "Internal Server Error"
| From: | Ghodmode | Date: | Sun, 07 Aug 2011 04:50:54 +0000 |
| Subject: | Re: Intentionally generate an "Internal Server Error" | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314403@lists.php.net to get a copy of this message | ||
On Sun, Aug 7, 2011 at 12:38 PM, shiplu <shiplu.net@gmail.com> wrote:
> By the way, You can also try sending proper html page and http header that
> will copy the Internal Server Error.
> That is completely possible in php.
> Just use the header() function.
>
Actually, I learned from reading a previous message on this list (Subject:
"php causes HTTP 500, but results in blank page in apache"), that using
header() would require me to provide the content of the error page.
That probably should still put a message in the error log, but it wouldn't
be enough to convince the stupid tech support people at GoDaddy that it was
an error.
I want them to see their own error page and then fix the problem with the
logging.
--
> Shiplu Mokadd.im
> My talks, http://talk.cmyweb.net
>
> Follow me, http://twitter.com/shiplu
> Innovation distinguishes between follower and leader
>
--
Ghodmode
http://www.ghodmode.com/blog