Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Apache redirection to Tomcat, but with JDBC security realms

Tang Wern Chait

2004-01-06


  Has anyone tried Apache redirection to Tomcat, on Java code that makes uses of JDBD security realms?
 
  Assuming the redirection from Apache to Tomcat works fine when I type 'http://localhost/examples/servlets/index.html'

  But for my own code, I include url 'alerts.do' inside security realm. Typing the url will bring user to page 'login.jsp'. This works fine if I type 'http:8080//localhost/rms/alerts.do'.

  But if I try redirection by typing 'http://localhost/rms/alerts.do', I get error page "The page cannot be displayed"

  Obviously, Apache redirection tries to find page 'alerts.do' instead of 'login.jsp'.

  How, can I rectify this problem?
©2008 junlu.com - Jax Systems, LLC, U.S.A.