*SOLVED* httpd.config problem
Posted: Tue Aug 21, 2007 6:05 pm
I am trying to set up directory level authority checking for my site. I've followed the steps mentioned on the Apache doc site to modify my httpd.config file to the following:
<Directory />
Options FollowSymLinks
AllowOverride AuthConfig
</Directory>
<Directory /tatest>
AllowOverride AuthConfig
AuthType BASIC
AuthName "Test Auth"
AuthUserFile /usr/local/apache/passwd/passwords
Require test_user
Satisfy ALL
</Directory>
however if I go to http://www.hostname.com/tatest I do not get prompted for a password or id. Did I set this up wrong?
**EDIT**
If I put the directives for /tatest in a .htaccess file in the tatest directory, then I am prompted to login. I still would like to try and get the directory statements working.
<Directory />
Options FollowSymLinks
AllowOverride AuthConfig
</Directory>
<Directory /tatest>
AllowOverride AuthConfig
AuthType BASIC
AuthName "Test Auth"
AuthUserFile /usr/local/apache/passwd/passwords
Require test_user
Satisfy ALL
</Directory>
however if I go to http://www.hostname.com/tatest I do not get prompted for a password or id. Did I set this up wrong?
**EDIT**
If I put the directives for /tatest in a .htaccess file in the tatest directory, then I am prompted to login. I still would like to try and get the directory statements working.