Customizable 404 Error Pages for Specific Routes |
In terms of 405 errors, I think there is room to add a feature that specifies a resource and the allowed HTTP methods.
If you define a resource (URI path) and the allowed HTTP methods, then CI4 should return 405 to requests for methods that are not allowed. And the server must generate an Allow header in a 405 response with a list of methods that the target resource currently supports. See https://developer.mozilla.org/en-US/docs...Status/405 However, the current router does not have the concept of “resources”, so it may not be easy to implement. |
Messages In This Thread |
Customizable 404 Error Pages for Specific Routes - by datamweb - 08-22-2024, 04:22 AM
RE: Customizable 404 Error Pages for Specific Routes - by ozornick - 08-22-2024, 11:06 AM
RE: Customizable 404 Error Pages for Specific Routes - by kenjis - 08-22-2024, 06:38 PM
RE: Customizable 404 Error Pages for Specific Routes - by kenjis - 08-22-2024, 06:55 PM
RE: Customizable 404 Error Pages for Specific Routes - by datamweb - 08-22-2024, 09:13 PM
RE: Customizable 404 Error Pages for Specific Routes - by kenjis - 08-23-2024, 12:05 AM
RE: Customizable 404 Error Pages for Specific Routes - by datamweb - 08-23-2024, 12:42 AM
RE: Customizable 404 Error Pages for Specific Routes - by kenjis - 08-23-2024, 02:09 AM
RE: Customizable 404 Error Pages for Specific Routes - by ozornick - 08-23-2024, 02:48 AM
|