Tag Archives: Authuserfile

.htaccess password protected directories

Relating to the following composition in my website /main < — root directory /main/templates < — THE directory in main. My personal. htaccess file was in the root directory My personal. htpasswd is while in the template directory Protected password box springs up it won’t accept my password. . htaccess Code: AuthName " Admin Panel" AuthType Simple AuthUserFile /templates/. htpasswd require valid-user . htpasswd Code: user: password What feel i doing erroneous Just your word of notice; its not safe to put htpasswd files within web accessible files, even if there’re protected. If you could place them inside a directory outside of the main site folder (if your hosting company lets you do this) it will be more secure. At this point, onto the difficulty. Is your password encoded Theres a strong explaination here on how you can do it. This may solve your problems, but I cant basically see whats possibly not working here. MY SPOUSE AND I always find htaccess valuable, but configured in another way to on every device! : play: You ought to encrypt the passwords.

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , | Leave a comment