Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Password Protect directories



Normal Mode | Print  

 Password Protect directories, It's not working. Am I missing something? (1 Replies, Read 6846 times)
Themis-T
Group: Member
Post Group: Newbie
Posts: 28
Status:
Hi,

I have set password protected directories using htpasswd command from the shell, changed Apache configuration "AllowOveride None" to "AllowOveride AuthConfig" for htaccess files, placed the ".htaccess" file inside the directory to protect, but still I get Internal Server Error and no popup window to enter username/password.
The permissions for ".htpasswd" file are 644.

Sample .htaccess file:
Code
AuthUserFile /home/username/.htpasswd
AuthType Basic
AuthName "enter password"
Require user username


I'm sure that everything is correct. It was working before, until I had to rebuild a website from scratch for a client and reinstalled everything on a new VPS.

Am I missing something?

Regards,
Tim

-----------------------
NEW:
Cloud Hosting on Cloud VPS: 10 €/mo
- FAST SSD drives
- FREE Webuzo control panel
- Multiple locations: NY / NL

IP: --   


Threads
 Themis-T   Password Protect directories, It's not working. Am I missing something? (1 Replies, Read 6846 times)
    |--  Themis-T   Problem SOLVED...!!! I...   on November 9, 2014, 6:22 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 1, 2024, 11:25 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.043