Hello,
I am not sure if it is documented (not seen on HTTP Server) or if it would require internal modifications: can we do server->AddLocation("/", "ui");
and change /
such that:
- doing a request
http://localhost/
serves/index.html
by default (like many webservers, for example on Apache:DirectoryIndex index.html
=>
a request forhttp://example.com/docs/
would returnhttp://example.com/docs/index.html
) - the root path of all ROOT internal objects (usually on
/
) would become/root/
, for exampleserver->Register("/graph1", graph1);
would become/root/graph1
.
Best regards.