File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Apache authorization doesn't work for jsp's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache authorization doesn Watch "Apache authorization doesn New topic
Author

Apache authorization doesn't work for jsp's

dibs dibley
Greenhorn

Joined: Aug 31, 2003
Posts: 13
Hi,
I have an application that serves a number of html files and jsp's.The user must login at the very start using the built in authorization from Apache The <files *.html> tag in the httpd.conf file works fine(ie prompts me for my password, and if i give the wrong one, denies me access), but when I try and use it for <files *.jsp>, it prompts me for my username and password, and if I give a wrong one the page is still served up. I have noticed that any images that should be shown are not if the username/password was wrong, so i'm guessing that tomcat is just ignoring the realm.
Anyone know how to fix this?
Cheers!
 
 
subject: Apache authorization doesn't work for jsp's
 
Similar Threads
attribute problem in custom tag
web security not working as expected,
JSP problem
Ant Build Failed for uninstall
Help with this code!