Hi List,
a question I have in mind since a long time: I have a Basex serving multiple project sites behind Nginx Redirections.
I wrote a servlet for 404 errors in web.xml:
<error-page>
<error-code>404</error-code>
<location>/error404</location>
</error-page>
and a function:
declare
%rest:path("/error{$code}") %output:method("html")
But if i try to get "http://www.bla.fr/xzxzxzxzxz", basex answers:
"No function found that matches the request."
How could I inhibit this behavior ?
thanks !