Re: servlet authentication with apache - solution

2003-06-05 Thread Mark McWilliams
Second time I posted this, and no one bothered to answer, but I found the solution on my own. Use a Location directive in the httpd.conf. My webapp name is stuff, so I use the following: AuthType Basic AuthName "whatever" AuthUserFile "/usr/local/apache2/conf/passwd" require valid-user

servlet authentication with apache

2003-06-05 Thread Mark McWilliams
I want apache to do basic authentication for my tomcat servlets. I only want Tomcat to manage servlets - NO authorization. How do I tell apache to do basic authentication when a servlet is accessed??? I tried protecting the servlet directory in httpd.conf. Help! --