Hi all,
 
I'm trying to implement some dynamic 404 error handling on a site that is combining 
Apache 2.0.43 and Tomcat 4.1.12 via mod_jk on Solaris 8.
 
Both Apache and tomcat are forwarding their 404's to /errors/404.jsp so I can handle 
the static error handler (sorry we couldn't find that file etc) alright.  However I 
can't seem to work out how/where Tomcat is storing the REDIRECT environment vars that 
Apache is meant to be adding to any error redirects - namely REDIRECT_URL, 
REDIRECT_STATUS etc.  
 
Most particularly I need to be able to access the original requested url so I can 
offer some alternatives to the user when they recieve a 404.
 
Has anybody any clues as to how I can get to these vars??? or do I need to resort to a 
CGI script amidst the JSPs.   Google is full of PHP scripts to achieve this but 
nothing about jsp.
 
Thanks for any help.
 
Tref
 
 


Reply via email to