Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57832 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47334 invoked from network); 13 Feb 2012 17:10:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2012 17:10:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=h.reindl@thelounge.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=h.reindl@thelounge.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thelounge.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: h.reindl@thelounge.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Received: from [91.118.73.15] ([91.118.73.15:38528] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 23/20-46500-124493F4 for ; Mon, 13 Feb 2012 12:10:58 -0500 Received: from rh.thelounge.net (rh.thelounge.net [10.0.0.99]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (Postfix) with ESMTPSA id 3EA8C17 for ; Mon, 13 Feb 2012 18:10:55 +0100 (CET) Message-ID: <4F39441F.4000301@thelounge.net> Date: Mon, 13 Feb 2012 18:10:55 +0100 Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: internals@lists.php.net References: <4F393F54.4040109@srce.hr> <4F394381.7060103@srce.hr> In-Reply-To: <4F394381.7060103@srce.hr> X-Enigmail-Version: 1.3.5 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD36F375812CDAA52C73BF47E" Subject: Re: [PHP-DEV] Internal server error on PHP syntax error? From: h.reindl@thelounge.net (Reindl Harald) --------------enigD36F375812CDAA52C73BF47E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 13.02.2012 18:08, schrieb Jakov Sosic: > and I get this in logs: > IPADDR - - [13/Feb/2012:18:03:52 +0100] "GET /~username/test/ HTTP/1.1"= 500 20 "-" "Mozilla/5.0 (X11; Linux x86_64; > rv:10.0.1) Gecko/20100101 Firefox/10.0.1" >=20 > so, 500 headers are returned but internal server error page is not disp= layed. All I get is a blank page. > So apache directive "ErrorDocument 500 /500.html" is useless in this ca= se. yes, but the more important is the status code so that search engines do not index you broken page, apache SHOULD NOT provide his own error-page because you can also send 500 status code within your script for whatever reason and want your output not supressed in such cases --------------enigD36F375812CDAA52C73BF47E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk85RB8ACgkQhmBjz394AnmrXACeOILh1qPxIRAaDZZkMohlva3D Qa4An2EBigdEwIIkbCK5VuMgZnZOpGjD =6CED -----END PGP SIGNATURE----- --------------enigD36F375812CDAA52C73BF47E--