Re: how protect a servlet?

2001-06-19 Thread Jason Koeninger
I believe you need a Location directive in httpd.conf. You would have something like: AuthName "myauth" AuthType Basic AuthUserFile /path/to/myauthfile require valid-user Of course, replace mywebapp as appropriate. Sounds like you may want to protect just one servlet in your ap

how protect a servlet?

2001-06-19 Thread Harold Arando
Hi, every body   I have the following problem:   I would like protect a servlet with AuthType Basic, for apache display the dialog "login/pass".   my directory where is my servlet is:   C:/tomcat/webapps/defe/Web-inf/classes/defe/AdministrationServlet.class   the file:  AdministrationServlet.