That's what I was thinking, thanks for confirming it.
On Jun 3, 2011 3:49 PM, Tamara Temple tamouse.li...@gmail.com 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,
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 step...@gmail.com wrote:
Hello Sean,
1. while I directed connected to these error pages such as 403, 404, and
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
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 step...@gmail.com wrote:
All 403, 404, 500.html are static html pages like:
div
500 error happens
/div
On Wed, Jun 1, 2011 at 14:10, Tamara
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
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/
Directory /usr/local/www/apache22/errorpage/
AllowOverride None
Options -Indexes
All 403, 404, 500.html are static html pages like:
div
500 error happens
/div
On Wed, Jun 1, 2011 at 14:10, Tamara Temple tamouse.li...@gmail.com 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
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 step...@gmail.com wrote:
Hello all,
I use a test script below to generate HTTP 500 status:
?php
header('HTTP/1.1 500 Internal Server Error');
?
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/
Directory /usr/local/www/apache22/errorpage/
AllowOverride None
Options -Indexes FollowSymLinks MultiViews
Order allow,deny
Hello all,
I use a test script below to generate HTTP 500 status:
?php
header('HTTP/1.1 500 Internal Server Error');
?
It causes HTTP 500 in apache log, but apache shows blank page instead of
HTTP 500 error page
But 403, 404 works correctly.
Why this thing occurs? And is there any soultion?
10 matches
Mail list logo