100 Web Space

.htaccess .htpasswd use
Page 1 of 1

Author:  dinktoy [ Tue Jul 14, 2009 7:01 am ]
Post subject:  .htaccess .htpasswd use

So, I'm a bit new to this and need some help.

I need to protect one sub-directory but will have multiple users accessing it. Now I know I can use the password protected tab in the control panel but then I end up with a long list and need to enter all the details for each user.

Using .htaccess and .htpasswd is simpler and, I think, more elegant.

I know that .htaccess goes into the directory I want to protect but what is the path to the .htpasswd file if I want to store it in the root directory.

This is what I will enter into my .htaccess file:

AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/mysite/.htpasswd
AuthGroupFile /dev/null
require valid-user

and I need to know what the path is in the AuthUserFile line is.


Author:  Andy [ Tue Jul 14, 2009 7:25 am ]
Post subject: 


Please open a trouble ticket regarding this issue. Then we will be able to assist you. This can be done via the "Help Center" menu of your Control Panel.

Looking forward to hearing from you.

Author:  dinktoy [ Tue Jul 14, 2009 10:40 am ]
Post subject: 

Many thanks, Andy - I'll do so.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group