This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes j_security_check and apache and Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "j_security_check and apache and Tomcat" Watch "j_security_check and apache and Tomcat" New topic
Author

j_security_check and apache and Tomcat

Jack Houghton
Greenhorn

Joined: Sep 29, 2008
Posts: 2
I have some protected resources in Tomcat. I have apache 2 installed and mod_jk configured to pass *.jsp and /login/j_security_check to tomcat. When I try to go to a protected resource (https://<mydomain>/index.jsp, it takes me to the login page as expected. I login successfully and then the URL changes to https://<mydomain>/j_security_check and does not forward me to the protected resource (index.jsp). Is there something I am missing in the mod_jk setup? I am able to access the site directly through tomcat with no issues.

Any help is appreciated
Jack


<a href="https://www.notbaggage.com" target="_blank" rel="nofollow">https://www.notbaggage.com</a><br /><a href="http://hicus.com" target="_blank" rel="nofollow">http://hicus.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: j_security_check and apache and Tomcat
 
Similar Threads
JSP with PHP
Getting j_security_check + ProxyPass to work when app is "default"?
Need help in reporting of protected resources in web application
j_security_check 404 error
Invalid direct reference to form login page