I'm using Tomcat 4 / Apache 1.3 and mod_webapps.
I would like to control access to the web
applications from Apache using AuthType Basic. It
appears that mod_webapps does the forwarding
before <Directory> or <Location> is read. Here's
what I've tried:

<Location "test/*">
  AuthType Basic
  AuthName test
  AuthUserFile /my/user/file
  require valid-user 
</Location>

WebAppConnection con1 warp localhost:2222
WebAppDeploy myApp.war con1 /test/myApp/

I would expect that any URL of form

http://myhost/test/*

would get the login pop-up, but if I enter

http://myhost/test/myApp/index.html

It serves up the webapp without any
authentication.

I realize it is possible to implement some
authentication on the Tomcat side, but I'd like
to centralize the authentication and do it all up
front.

+ seth

 

=====




__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to