Change cockpit entrypoint url

@alessandro If you try to understand the paths and constants, have a look here:

I’m not sure, how to achieve the forwarding, but maybe… it could be easy… Put Cockpit in a subdirectory named cockpit → now your url is localhost:8080/cockpit/auth/login

Or add a line to the .htaccess to rewrite some specific urls.

And you started a second thread

Have a look at index.php of Cockpit:

Maybe this might work: define the constant COCKPIT_ADMIN_ROUTE in /config/bootstrap.php to your needs.