Grab the pdf for the servlet-spec that you care about (TC3.3.x := 2.2, TC4.1.x:= 2.3, TC5.x:= 2.4) and look at how to configure the <security-constraint> element in your web.xml file. It offers something close to Apache's .httpaccess.
Of course, the true masochists can set tomcatAuth="false" on the connector, and do everything via Apache's .htaccess/.htpasswd :-). "Gabor 'Morc' Kormos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Everybody, > > Can anyone tell me how could I set up Tomcat (any version) to do the same > kind of user authenticate that you can do with Apache's .htaccess/.htpasswd? > > I tried to find info about it, but the docs seem to focus on the servlet > container/JSP and not on static HTML page serving. > > Thanks, > > Gabor 'Morc' Kormos. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
