F
fishnyc22
Guest
I'm trying to password protect my entire httpdocs directory while in development. (then disabling it later when ready for launch)
I had it working great last week, but made some changes somewhere (not sure what did it) and now I cant get it to work. I've gone though the process over and over again with now luck.
I have my .htaccess file with:
AuthType Basic
AuthName "Development Access"
AuthUserFile /etc/apache2/passwd/.htpasswd
Require valid-user
I ran the command:
htpasswd -c /etc/apache2/passwd/.htpasswd USERNAME
and entered the password 2x. Restarted Apache with:
/etc/rc.d/init.d/httpd restart
But no luck. The directory is not protexted. I even tried:
chmod a+r .htaccess
chmod a+r .htpasswd
I'm not sure why it would work and then stop working. all I did was try to add a second user to the .htpasswd file.
Does any one know if there is ANYTHING else I need to do to make this work.
Any help would be appreciated!
I'm running Plesk 8 / Apache2 / Fedora Linux
Fish ><>
I had it working great last week, but made some changes somewhere (not sure what did it) and now I cant get it to work. I've gone though the process over and over again with now luck.
I have my .htaccess file with:
AuthType Basic
AuthName "Development Access"
AuthUserFile /etc/apache2/passwd/.htpasswd
Require valid-user
I ran the command:
htpasswd -c /etc/apache2/passwd/.htpasswd USERNAME
and entered the password 2x. Restarted Apache with:
/etc/rc.d/init.d/httpd restart
But no luck. The directory is not protexted. I even tried:
chmod a+r .htaccess
chmod a+r .htpasswd
I'm not sure why it would work and then stop working. all I did was try to add a second user to the .htpasswd file.
Does any one know if there is ANYTHING else I need to do to make this work.
Any help would be appreciated!
I'm running Plesk 8 / Apache2 / Fedora Linux
Fish ><>