If you want to achieve it with internal Apache, you just only need to create root WebApplication in Caché. As well as I'm sure you already did it before like /AppName/
, just create with name /
.
If you want to do it with external Apache, then I hope you already have properly configured one. Just what you need then, is to add such lines
<Location />
CSP on
SetHandler csp-handler-sa
</Location>
In you REST class, you must be already know, that Route map uses regexp to get correct method. So, in routes map you can change it so
<Routes>
<Route Url="/(index\.html)?" Method="GET" Call="Index"/>
<!-- or something like this, to catch all static for one method -->
<Route Url="/((?!rest/).*)" Method="GET" Call="GetStatic"/>
...
</Routes>