I am using web2py
as my python framework. I am having problem in redirecting/routing pages.
Scenario is for example, when I am going to this URL:
www.example/web2pyApplication/controller
Then accidentally change the URL to this:
www.example/web2pyApplication/controller1
The error that gets displayed will be:
invalid controller (controller1/index)
Is there a way to catch and handle the error, so that it redirects to a 404 page instead?