You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Tom Holmes Jr." <to...@tomholmes.net> on 2004/01/01 20:41:30 UTC
[users@httpd] Authentication Issues
To recap: I have Tomcat 4.1.29 and Apache 2.0.48 under Win2K and one virtual
host called: secured.mydomain.com. This gets served up under Apache/Tomcat
correct and all Servlets, JavaBeans, and JSP's work correctly. Now, I
followed the directions from the How-To Apache 2.0.x docs on how to
authenticate a user for a web-site/directory. Notice that this web-site is
under Tomcat and not under Apache. According to all the dozens of other
docs I have seen on the web, and according to the O'Reilly Apache book ...
what I have done is 100% correct!
However, after dozens of minor changes (and an Apache restart after each
one), every browser that I use when I go to this web-site refuses to ask me
for a username/password dialog box. The funny thing is that an older
version of 2.0.x works fine, and this version does not.
I'd like to know what I am doing wrong when all the documentation I have
read shows that I have done everything correct.
Here is my httpd.conf virtual host configuration.
<VirtualHost *>
ServerName mydomain.com
ServerAlias secured.mydomain.com
ServerAdmin tom@mydomain.com
DocumentRoot c:/web/jakarta-tomcat-4.1.29/webapps/secure
<Location "/*.jsp">
JkUriSet worker ajp13:localhost:8009
</Location>
ErrorLog logs/secure-error_log
CustomLog logs/secure-access_log common
DirectoryIndex default.jsp index.jsp
<Directory "c:/web/jakarta-tomcat-4.1.29/webapps/secure">
AuthName Admins
AuthType Basic
AuthUserFile c:/web/Apache2/security/passwords.file
AuthGroupFile c:/web/Apache2/security/groups.file
Require group admins
</Directory>
</VirtualHost>
Any help would be much appreciated. Thanks.
Tom
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org