Loading custom 403 page
Permalink
I have a catch page which handles all incoming forms. It begins with some logic to see whether the data is being submitted from the proper source and a few other security checks.
Currently if any of the checks fail a security message pops up and the header is changed to report a 403. This works, however, I'd feel like there is a concrete5 method which I'm not seeing.
The way 404 pages are handled is that the single page page_not_found.php is loaded as the content. I was hoping to achieve this result with page_forbidden.php
Any thoughts?
Currently if any of the checks fail a security message pops up and the header is changed to report a 403. This works, however, I'd feel like there is a concrete5 method which I'm not seeing.
The way 404 pages are handled is that the single page page_not_found.php is loaded as the content. I was hoping to achieve this result with page_forbidden.php
Any thoughts?
Not really sure, though.