Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

was_ap20_module and REDIRECT_URL

Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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!

Thibault Dangr�aux
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!
    Bookmark Topic Watch Topic
  • New Topic