I'm running Resin as an app server, behind Apache as a web server. Apache proxies requests to resin.
Such that using getRequestURL() gives http://localhost:8081/app) as opposed to the actual URL seen in the browser (http://www.example.com/app).
How would I go about retrieving the "pre-proxy" URL?
I can successfully get the host by using getHeader("X-Forwarded-Host") but this does not...