Bug #80415 [Com]: nginx 404 error page
| From: | gunnard at gmail dot com | Date: | Sat, 28 Nov 2020 10:59:16 +0000 |
| Subject: | Bug #80415 [Com]: nginx 404 error page | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-28942@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: gunnard 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:
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.
Previous Comments:
------------------------------------------------------------------------
[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