If route not found, 404 handler check path extension to render main page or only send 404 response to client
Disable controller shortcut