I have a Jetty server running a simple J2EE application on port 8085. In Apache I have a RewriteRule which simply proxies to the Jetty server when given a certain URL pattern. See an
example below of my Apache virtual host:
The RewriteRule seems to be working ok and it takes the user to the Jetty app. The Jetty app has a logon admin screen. Most of the time, when the user has logged onto the admin screen
and tries to perform an action, the app redirects the user to the logon screenagain. When the user logs in again the app then redirects them to the originally intended url.