Hi all,
I've been developing in eXist since 2008, and I'm now trying out your BaseX.
I'm impressed so far, but how can I perform URL rewriting? I've tried using Jetty's Rewrite Handler via the example code at http://wiki.eclipse.org/Jetty/Feature/Rewrite_Handler but then the server fails to start, it simply dumps with:
$ sh bin/basexhttp org.eclipse.jetty.rewrite.handler.RewriteHandler
So I figure I need to compile it in (I grabbed from github and built with maven, but didn't know how to build the http server and downloaded the 5meg zip). Not sure how to do that.
I'm not a Java guy at the moment, so any pointers would be very helpful.
Thanks everybody! Jay
Hi Jay,
I've been developing in eXist since 2008, and I'm now trying out your BaseX.
welcome!
I'm impressed so far, but how can I perform URL rewriting? I've tried using Jetty's Rewrite Handler via the example code at http://wiki.eclipse.org/Jetty/Feature/Rewrite_Handler but then the server fails to start, it simply dumps with:
If you want some more debugging feedback, you could try the -d command-line flag [1]:
$ sh bin/basexhttp -d
So I figure I need to compile it in (I grabbed from github and built with maven, but didn't know how to build the http server and downloaded the 5meg zip). Not sure how to do that.
I'm not a Java guy at the moment, so any pointers would be very helpful.
If you want to build the HTTP server, you need to download both the "basex" and "basex-api" repository. You could have a look at the Developer Section in our Wiki if you haven’t done so already [2].
Feel free to ask for more details, Christian
[1] http://docs.basex.org/wiki/Startup_Options#BaseX_HTTP_Server [2] http://docs.basex.org/wiki/Developing
basex-talk@mailman.uni-konstanz.de