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! --

protecting servlets with apache basic authentication

2003-06-04 Thread Mark McWilliams
What should I put in the httpd.conf to make apache do authentication before a servlet is accessed? Here's what I tried: AuthType Basic AuthName "stuff" AuthUserFile "C:/Program Files/Apache Group/Apache2/conf/passwd" require valid-user ---