Mantis - Resin
Viewing Issue Advanced Details
87 minor always 04-07-05 00:00 02-03-06 11:20
sam  
ferg  
normal  
closed  
3.0.12 fixed  
none    
none 3.0.18  
0000087: Apache variables such as REDIRECT_URL are not being passed
RSN-78
(rep by A Jacklin)

We have a slightly odd setup in which an Apache server serves any files
that physically on the webserver. Any other requests get directed to a
404 error page, which is server by resin. Apache sets a number of
environment variables - such as the original page called, the query
string etc. in variables such as REDIRECT_URL and REDIRECT_QUERY_STRING.

Our old install of Resin (2.1.6) used to pass there across just fine, but now
none of them are coming across. This is rather inconvenient, as we're
having to proxy large chunks of content back onto our old web server.

Notes
(0000092)
sam   
04-07-05 00:00   
(rep by A Jacklin)

We used to get them with:

HttpServletRequest request = (whatever the current request is)

String alias = request.getHeader("REDIRECT_URL");
String redirectQueryString = request.getHeader("REDIRECT_QUERY_STRING");