You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Cox <jo...@yahoo.com> on 2000/07/18 17:54:11 UTC
Apache Authorization w/Tomcat URGENT!!!
I urgently need a solution for this:
I've got a webapp under an apache alias:
Alias /mycontext d:\tomcat\webapps\mycontext
I need apache to enforce basic authorization for
the *alias* :
<Location /mycontext>
AuthType Basic
AuthName Development_Servlets
AuthUserFile d:\apachepath\apache\users\pwd
require valid_user
</Location>
but apache fails to start up no matter where I put
this directive; after
my tomcat.conf include, in the tomcat.conf itself --
everywhere I try.
*Please* any help would be gratefully received...
JC
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/
Re: Apache Authorization w/Tomcat URGENT!!!
Posted by Ben Kelley <be...@ubsw.com>.
Hi.
I'd check Apache's error log for an error message, but before you do that,
change "valid_user" to "valid-user". :)
- Ben Kelley.
----- Original Message -----
From: John Cox <jo...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, July 18, 2000 4:54 PM
Subject: Apache Authorization w/Tomcat URGENT!!!
> <Location /mycontext>
> AuthType Basic
> AuthName Development_Servlets
> AuthUserFile d:\apachepath\apache\users\pwd
> require valid_user
> </Location>