Hi,
I am trying to setup up apache2 on to use user authentication to access directories. This is how I did it
1) Use htpasswd to create a password for the user
2) Created a group file
3) modified the http.conf file with the following setup]
<Directory /home/sites/web/secure>
AuthType Basic
AuthName "secure access"
AuthUserFile /home/sites/passwords
AuthGroupFile /home/sites/groups
Require group secure
</Directory>
There is page with a link to a pdf in the secure directory. After the changes I am not prompted for access at all but allowed directly in. What have I done wrong? I did httpd -l and it showed the auth_mod.c and aut_access.c so the modules should be available right? Any help would be apreciated.
jshoker
I am trying to setup up apache2 on to use user authentication to access directories. This is how I did it
1) Use htpasswd to create a password for the user
2) Created a group file
3) modified the http.conf file with the following setup]
<Directory /home/sites/web/secure>
AuthType Basic
AuthName "secure access"
AuthUserFile /home/sites/passwords
AuthGroupFile /home/sites/groups
Require group secure
</Directory>
There is page with a link to a pdf in the secure directory. After the changes I am not prompted for access at all but allowed directly in. What have I done wrong? I did httpd -l and it showed the auth_mod.c and aut_access.c so the modules should be available right? Any help would be apreciated.
jshoker