Administrator
|
On 06/08/2011 12:15 PM, mhaemmerle [via Databinder] wrote:
> as far as i see it, it's not possible to route requests to bindings
> depending on their plan/intent as the choice for that has already been
> made when binding the server. Or am I wrong here?
I don't think it's possible to bind jetty and netty to the same network
interface and port, with or without Unfiltered.
> I need to run netty (for serving socket connections) and jetty (for
> serving static resources) under the same port and either should answer
> depending on the context. Any really rough idea on how to do this (in
> unfiltered or bare-bones)?
I would put them both behind apache with mod-proxy, assuming your netty
socket connections are standard HTTP. And then you don't really need
jetty, you can use apache to serve the static content.
If what you are doing with netty can't be proxied by apache, I think
you're going to have to hack together a static file server for netty.
And if that works out we'd love to add it to Unfiltered. :)
Nathan
|