Re: Forms Authentication

2004-01-07 Thread Tang Wern Chait

I too need to access login page directly because, of Apache redirection
to Tomcat, cannot find the login page directly.

Let's say, main_page.htm is a secure page. Typing the url
'http://localhost/webapplication/main_page.htm' should bring up the login
page.  But it just gives me 'Error 500, The page cannot be displayed'.

   So, have to access login page directly, as it authenticates your login,
but will give error 'Indirect referece to j_security_check'

   So, how do I implementss JDBC realms when Apache redirection to Tomcat is
involved.


- Original Message - 
From: "QM" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, January 08, 2004 8:01 AM
Subject: Re: Forms Authentication


> : So is there a way to overcome this?  BTW ? if I reference the login.jsp
from
> : a secure page, everything works fine.  So I know I have things setup
> : correctly thus far.
>
> If I may ask, why would you want to hit the login page directly?
> Is this for a "click here to login" link?
>
> -QM
>
> -- 
>
> software  -- http://www.brandxdev.net (C++ / Java / SSL)
> tech news -- http://www.RoarNetworX.com
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache redirection to Tomcat, but with JDBC security realms

2004-01-06 Thread Tang Wern Chait
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?