It is currently Thu Mar 28, 2024 10:02 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: path for .htpasswd
PostPosted: Tue Aug 01, 2006 12:21 pm 
Newbie
Newbie

Joined: Tue Aug 01, 2006 12:17 pm
Posts: 2
Hi,

I want to create a own .htaccess file and .htpasswd file. But I have one problem. What's the path for the .htacceess file to find the .htpasswd file?

This is what I have tried:

Code:
AuthType Basic
AuthName "SooS 't Harde administratie"
AuthUserfile "./home/users/sootha10/www/.htpasswd"
Require valid-user


and this:

Code:
AuthType Basic
AuthName "SooS 't Harde administratie"
AuthUserfile "./home/www/sootha10.freehostia.com/.htpasswd"
Require valid-user


But nothing works. Who knows the path???

Thank u, Maurits


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 2:18 am 
Support Tech
Support Tech

Joined: Tue Jun 20, 2006 4:16 am
Posts: 319
Try protecting your directories using Password Protected Areas section in your Account's Control Panel. Note that if you are trying to password protect a folder, there should not be an .htaccess file in it.

_________________
Bob
{email: "support at freehostia dot com}
http://www.freehostia.com/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 9:19 am 
Newbie
Newbie

Joined: Tue Aug 01, 2006 12:17 pm
Posts: 2
When I post this post the PPA doesn't work, I received an error. But now it works so it's ok!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 03, 2006 3:45 am 
Support Tech
Support Tech

Joined: Tue Jun 20, 2006 4:16 am
Posts: 319
sootha10 wrote:
When I post this post the PPA doesn't work, I received an error. But now it works so it's ok!


I am glad to read that your problem is fixed! :lol:

_________________
Bob
{email: "support at freehostia dot com}
http://www.freehostia.com/


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 10, 2009 10:58 am 
Newbie
Newbie

Joined: Fri Apr 10, 2009 10:48 am
Posts: 1
I know this topic is pretty old, I need assistance with finding the correct path as well...

.htaccess contains the following lines

AuthName "Restricted Area"
AuthType Basic
AuthUserFile ./home/www/workathometoday.freehostia.com/.htpasswd
AuthGroupFile /dev/null
require valid-user

.htpasswd contains the following lines
testusername:password

I uploaded both files .htaccess and .htpasswd to the directory of /home/www/workathometoday.freehostia.com, when I open http://workathometoday.freehostia.com it prompts for login username n pass. Have entered them in, unable to login in?

It appears my .htaccess file can't find the path to the .htpasswd

Anyone help please.

Wae.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ]  Moderators: 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

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011