File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache authorization doesn Watch "Apache authorization doesn New topic

Apache authorization doesn't work for jsp's

dibs dibley

Joined: Aug 31, 2003
Posts: 13
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?
I agree. Here's the link:
subject: Apache authorization doesn't work for jsp's
It's not a secret anymore!