You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Jennings <so...@home.com> on 2001/05/27 02:09:15 UTC

form-based authentication tomcat->apache

Hi everyone,

Has anyone been able to get the form-based authentication example to work
with tomcat? I can get it to work if I connect to tomcat's own http-server
on port 8080
but when I connect to the same example via apache (via mod_jk to tomcat)
after I log in I get
http://localhost/examples/jsp/security/login/j_security_check

with a message saying "the page cannot be found".
Is this a known bug in tomcat? Is there some subtle configuration thing
I've missed?

-Mike Jennings

______________________
Mike Jennings
Southgate  Software Ltd.
250-382-6851 (ph)
250-382-6800 (fax)
southgate.software@home.com


Re: form-based authentication tomcat->apache

Posted by Michael Jennings <so...@home.com>.
It worked!
Thanks!
-Mike

----- Original Message -----
From: "Andrew Robson" <an...@netscapeonline.co.uk>
To: <to...@jakarta.apache.org>
Sent: Saturday, May 26, 2001 8:14 PM
Subject: Re: form-based authentication tomcat->apache


> Try putting
> JkMount  /examples/jsp/security/login/j_security_check ajp13
> into httpd.conf
>
> andrew
>
> On Sun, 27 May 2001, you wrote:
> > Hi everyone,
> >
> > Has anyone been able to get the form-based authentication example to
work
> > with tomcat? I can get it to work if I connect to tomcat's own
http-server
> > on port 8080
> > but when I connect to the same example via apache (via mod_jk to tomcat)
> > after I log in I get
> > http://localhost/examples/jsp/security/login/j_security_check
> >
> > with a message saying "the page cannot be found".
> > Is this a known bug in tomcat? Is there some subtle configuration thing
> > I've missed?
> >
> > -Mike Jennings
> >
> > ______________________
> > Mike Jennings
> > Southgate  Software Ltd.
> > 250-382-6851 (ph)
> > 250-382-6800 (fax)
> > southgate.software@home.com
> -


Re: form-based authentication tomcat->apache

Posted by Andrew Robson <an...@netscapeonline.co.uk>.
Try putting
JkMount  /examples/jsp/security/login/j_security_check ajp13
into httpd.conf

andrew

On Sun, 27 May 2001, you wrote:
> Hi everyone,
> 
> Has anyone been able to get the form-based authentication example to work
> with tomcat? I can get it to work if I connect to tomcat's own http-server
> on port 8080
> but when I connect to the same example via apache (via mod_jk to tomcat)
> after I log in I get
> http://localhost/examples/jsp/security/login/j_security_check
> 
> with a message saying "the page cannot be found".
> Is this a known bug in tomcat? Is there some subtle configuration thing
> I've missed?
> 
> -Mike Jennings
> 
> ______________________
> Mike Jennings
> Southgate  Software Ltd.
> 250-382-6851 (ph)
> 250-382-6800 (fax)
> southgate.software@home.com
-