Hi,

On Sat, Aug 28, 2021 at 3:37 PM Peter Boughton <[email protected]> wrote:
>
> Thanks Simone,
>
> I've raised https://github.com/eclipse/jetty.project/issues/6678

Thanks!

> Are you saying a workaround is to create a rewrite rule to prevent the
> looping?

No, I meant "rewrite" because ProxyServlet has a "rewriteTarget()"
method that takes the incoming request URI, and converts it to a
different URI.
By default this proxy "rewriting" does nothing, so the ProxyServlet
making a request for the same URI would end up on itself, hence the
loop.

> The aim is to use TryFilesFilter to serve static files with Default
> servlet then have all other URLs proxied to a non-Jetty backend server
> over HTTP. (It doesn't currently support FastCGI or I'd use that.)
>
> So yeah, no need for balancing, content transforming, etc - just need
> the other server to handle the requests which would otherwise 404.

Can you please add your use case above to the issue, as a comment?

-- 
Simone Bordet
---
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless.   Victoria Livschitz
_______________________________________________
jetty-users mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to