Filter to custom error pages |
I'm using a simple honeypot filter, and I can't seem to display the error page correctly. Can anyone see something wrong with what I'm doing here? Instead of the expected "Not allowed" message, I'm seeing a default message like:
Quote:This page isn’t working Here's what I'm doing.... #1 app/Filters/MyhoneypotFilter.php: PHP Code: <?php #2 I won't include everything in my htaccess, but if it matters, I'll add it. mysite/public_html/.htaccess: Code: ErrorDocument 405 /error.php #3 mysite/public_html/error.php: PHP Code: <?php |
Messages In This Thread |
Filter to custom error pages - by BilltheCat - 01-09-2022, 09:10 PM
RE: Filter to custom error pages - by iRedds - 01-09-2022, 11:13 PM
RE: Filter to custom error pages - by BilltheCat - 01-10-2022, 09:34 AM
RE: Filter to custom error pages - by BilltheCat - 01-11-2022, 11:22 AM
|