@MikeR All modules have an entrypoint assigned by Coldbox when they are registered. If you don’t want those routes to be accessbile, then you can just use the module’s router to relocate any requests to that route back to the root of the site:
If you are using the convention routing for those admin routes then you will have to have a simple route for “/“ which points to that function. Otherwise declare explicit routes for those admin routes you want.
Thanks again for all your help @jclausen, very much appreciated.
I still couldn’t quite get what I needed with routing alone. I am sure I am missing something, however, with a combination of routes, preHander, and an onInvalidEvent interceptor my module now either does not have the routes even exist or redirect the event and display the ContentBox default notfound “Ooops” page.
I wanted to make sure I was catching and handling the possible scenarios for routes before I publish on ForgeBox. If you have a minute and want to take a quick look, any feedback is very much appreciated.