|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2020-11-25 12:52 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 14:00:01 2025 UTC |
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.