Hi,
I want my basex webapp's root url, ie domain.com/ to default not to index.html, but to index.xquery or any kind of "x" :-)
Currently running with nginx
# pass requests for content to basex location / { index index.xqy index.xquery index.xml; proxy_pass http://127.0.0.1:8984; }
But only index.html behaves this way. (all others show directory contents)
I think maybe this is set somewhere in the jetty context, but can't find it.
Does anyone know the answer?
Along with BaseX 7.5, we're planning to introduce direct evaluation of XQuery scripts. The feature is already working if the "DirectServlet" section in web.xml is activated, but it will take a while until everything will be properly documented.
You may as well want to gather some experience with our powerful implementation of RESTXQ..
http://docs.basex.org/wiki/RESTXQ ___________________________
On Thu, Nov 8, 2012 at 10:59 PM, Colin McEnearney colinmcenearney@gmail.com wrote:
Hi,
I want my basex webapp's root url, ie domain.com/ to default not to index.html, but to index.xquery or any kind of "x" :-)
Currently running with nginx
# pass requests for content to basex location / { index index.xqy index.xquery index.xml; proxy_pass http://127.0.0.1:8984; }
But only index.html behaves this way. (all others show directory contents)
I think maybe this is set somewhere in the jetty context, but can't find it.
Does anyone know the answer?
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de