• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

was_ap20_module and REDIRECT_URL

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

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
 
Onion rings are vegetable donuts. Taste this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!