
anenadic
New User
Feb 21, 2006, 10:47 AM
Post #1 of 2
(14298 views)
|
mod_perl and mod_jk problem
|
Can't Post
|
|
Hi, I am having a Apache-Tomcat assembly linked via mod_jk and a servlet that I want to protect with my own Perl Authentication Handler (servlet should not be accessible it the user is not previously authenticated by my Handler). Now, when I try to protect a normal page served by Apache with my Authentication handler, everything works fine. When I try to do the same with the servlet's location - my Authentication Handler fires up but it seems that mod_jk does not get to do the translation of the request to Tomcat so I get a FILE NOT FOUND error from Apache (it does not even get to Tomcat) after authentication is performed. Now, servlet and mod_jk translation both work fine when the servlet location is not protected with my Handler. Here is a snippet from my httpd.conf that defines the location for the servlet. -------------------------------------------------------------- <Location /shibboleth-idp/SSO> AuthType Fame AuthName "Fame Authentication Service" SetHandler perl-script PerlAuthenHandler MyApache2::Fame::sso_checker require valid-user </Location> -------------------------------------------------------------- Snippet from mod_jk settings: -------------------------------------------------------------- jkMount /shibboleth-idp/* worker1 -------------------------------------------------------------- I am using Tomcat 5.15, Apache 2.0.55, mod_perl 2.0.1 Has anyone experienced similar problem? Thanks VERY much in advance for any help on this. Alex
|