Bug #80415 [Com]: nginx 404 error page
| From: | afilina at gmail dot com | Date: | Tue, 15 Dec 2020 18:16:07 +0000 |
| Subject: | Bug #80415 [Com]: nginx 404 error page | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-29012@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80415&edit=1
ID: 80415
Comment by: afilina at gmail dot com
Reported by: contact at kelianbousquet dot com
Summary: nginx 404 error page
Status: Open
Type: Bug
Package: Website problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I'm also getting the blank 404 nginx page: https://pasteboard.co/JF4wuNO.png
I can help with this. I can replicate the conditions locally and send you a config patch, but I need
a copy of the nginx site's config file.
Previous Comments:
------------------------------------------------------------------------
[2020-11-28 10:59:16] gunnard at gmail dot com
currently the dev env. returns a custom 404 page and not the blank, default nginx one.
error.php +636
636 // ============================================================================
637 // 404 page for manual pages (eg. not built language)
638 if (strpos($URI, "manual/") === 0) {
639 error_404_manual();
640 }
I would like to see how the /etc/nginx.conf is setup to handle 404s on the server as this could be
the issue. Also, the website is behind myracloud CDN and I wounder if certain 404 pages have been
cached and need to be cleared.
------------------------------------------------------------------------
[2020-11-25 12:52:10] contact at kelianbousquet dot com
Description:
------------
When i try to access to wrong url i see a 404 not found nginx page, why not make a custom php.net
error page ?
Test script:
---------------
go to a wrong url => https://www.php.net/manual/fr/fjj
Expected result:
----------------
custom error page ?
Actual result:
--------------
nginx 404 error page
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80415&edit=1