That's what I was thinking, thanks for confirming it.
On Jun 3, 2011 3:49 PM, "Tamara Temple" wrote:
>
> On Jun 2, 2011, at 7:09 PM, Stephon Chen wrote:
>
>> Hello Sean,
>>
>> 1. while I directed connected to these error pages such as 403, 404,
>> and 500.html,
>> they works correctly, showing co
On Jun 2, 2011, at 7:09 PM, Stephon Chen wrote:
Hello Sean,
1. while I directed connected to these error pages such as 403, 404,
and 500.html,
they works correctly, showing correct error page
2. but while I use something like header('HTTP/1.1 500') to trigger
apache 500
the content of 5
What happens if you create a test page with just the 500 header and some
html content in it? IIRC, apache won't override a php-generated error page.
On Jun 2, 2011 8:09 PM, "Stephon Chen" wrote:
> Hello Sean,
>
> 1. while I directed connected to these error pages such as 403, 404, and
> 500.html,
Hello Sean,
1. while I directed connected to these error pages such as 403, 404, and
500.html,
they works correctly, showing correct error page
2. but while I use something like header('HTTP/1.1 500') to trigger apache
500
the content of 500.html does not show, but blank page only.
both header('H
So do you get the contents of that page in the response? What happens when
you browse to that page manually?
On Jun 1, 2011 2:14 AM, "Stephon Chen" wrote:
> All 403, 404, 500.html are static html pages like:
>
>
> 500 error happens
>
>
> On Wed, Jun 1, 2011 at 14:10, Tamara Temple
wrote:
>
>>
>
All 403, 404, 500.html are static html pages like:
500 error happens
On Wed, Jun 1, 2011 at 14:10, Tamara Temple wrote:
>
> On May 31, 2011, at 8:14 AM, Stephon Chen wrote:
>
> Hello Sean,
>>
>> Here is my apache config for error handling.
>> 403, 404 works fine, but 500 shows blank page
>>
On May 31, 2011, at 8:14 AM, Stephon Chen wrote:
Hello Sean,
Here is my apache config for error handling.
403, 404 works fine, but 500 shows blank page
Alias /errorpage/ "/usr/local/www/apache22/errorpage/"
AllowOverride None
Options -Indexes FollowSymLinks MultiViews
Order allow,de
Hello Sean,
Here is my apache config for error handling.
403, 404 works fine, but 500 shows blank page
Alias /errorpage/ "/usr/local/www/apache22/errorpage/"
AllowOverride None
Options -Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
#
ErrorDocument 403 /errorp
Have you checked your apache settings for generating error pages? How is it
configured to handle 500 errors?
On May 30, 2011 4:51 AM, "Stephon Chen" wrote:
> Hello all,
>
> I use a test script below to generate HTTP 500 status:
>
> header('HTTP/1.1 500 Internal Server Error');
> ?>
>
> It causes
9 matches
Mail list logo