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 !

--
Ce message peut contenir des informations réservées exclusivement à son destinataire. Toute diffusion  sans autorisation est interdite. Si vous n'en êtes pas le destinataire, merci de prendre contact avec l'expéditeur et de détruire ce message.

This email may contain material for the sole use of the intended recipient. Any forwarding without express permission is prohibited. If you are not the intended recipient, please contact the sender and delete all copies.