I am having a diffcult time getting Apache (2.0.39) to restrict directory access correctly. In httpd.conf I've added this:
<Directory "/usr/local/apache2/htdocs/mystuff">
AuthType Basic
AuthName "Restricted"
AuthUserFile /etc/htpasswd
Require user guest
</Directory>
Of course "/etc/htpasswd" has guest in it with a valid password. My problem is that when I go the the site. The directory "mystuff" no longer is in the listing!!? I want it to be in the listing I just want to supply a password before accessing it...I don't want it completely gone.
Any thoughts?
Thanks,
-bitwise
<Directory "/usr/local/apache2/htdocs/mystuff">
AuthType Basic
AuthName "Restricted"
AuthUserFile /etc/htpasswd
Require user guest
</Directory>
Of course "/etc/htpasswd" has guest in it with a valid password. My problem is that when I go the the site. The directory "mystuff" no longer is in the listing!!? I want it to be in the listing I just want to supply a password before accessing it...I don't want it completely gone.
Any thoughts?
Thanks,
-bitwise