skipperbent / simple-php-router

Simple, fast and yet powerful PHP router that is easy to get integrated and in any project. Heavily inspired by the way Laravel handles routing, with both simplicity and expand-ability in mind.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

403: Route "/" or method "head" not allowed.

kangarko opened this issue · comments

I've been having a ton of these attacks or scans on my website. This is a private subdomain not indexed on google, and every error is logged for debug purposes.

Screenshot 2024-01-09 at 06 40 29

How can I catch this error in simple router instead of letting it fall down to the php's error handler?