It is currently Thu Mar 28, 2024 8:54 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: .htaccess .htpasswd use
PostPosted: Tue Jul 14, 2009 7:01 am 
Noobie
Noobie

Joined: Tue Jul 14, 2009 6:04 am
Posts: 2
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.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 14, 2009 7:25 am 
Support Team Member

Joined: Sat Feb 12, 2005 5:19 pm
Posts: 289
Hello,

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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 14, 2009 10:40 am 
Noobie
Noobie

Joined: Tue Jul 14, 2009 6:04 am
Posts: 2
Many thanks, Andy - I'll do so.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
100WebSpace © 2011