I have an application that relies on ErrorDocument in Apache and was_ap20_module to process pages that do not exist (404) in the application server. This application runs fine in Apache/Tomcat using JkConnector and I'm now trying to deploy under Websphere.
The main problem is that I need to get the URL of the page that caused the 404. I use REDIRECT_URL, which Apache sets before calling ErrorDocument. Once instructed properly (JkEnvVar REDIRECT_URL REDIRECT_URL in httpd.conf), Jk Connector passes it as a request attribute and everything works fine.
But under Apache/Websphere, it appears that was_ap20_module does not properly set that attribute. Is there any way to instruct was_ap20_module to properly forward the REDIRECT_URL to websphere?
Thanks for your help!
The two armies met. But instead of battle, they decided to eat some pie and contemplate this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!