How to password a web folders ?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- How to password a web folders ?
How to password a web folders ?
05-05-2008 4:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I’m using Microsoft Notepad to create the files, and either Windows Explorer or CuteFTP to transfer them. Yes, I think I am meticulously following the instructions on the Help Pages.
Any ideas anyone ? Has anyone used it recently on F9 ?
Re: How to password a web folders ?
11-05-2008 12:32 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I am not a huge user of htaccess but,
I gather that permissions are crucial for them to even work, wrong permissions and they wont pick up.
(I maybe wrong)
Humour me and check (this may sound really stupid):
1. I myself cannot create .htaccess files locally due to FS constraints on Windows,
so I assume you are altering the name once uploaded. Make sure the prefix '.' is in there else it wont be picked up by Apache.
2. if they need to be chmoded to 777 or something, just so that the separate Apache User cant argue at all.
although 644 (usually default permissions) should be fine as all Read Permissions are granted 😕
Sorry if none of that helps.
Jim,
Re: How to password a web folders ?
17-05-2008 10:25 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yes, I am uploading htaccess.txt then changing it to .htacces
At the same time I change the properties to (Owner) read/write/execute , and all others just read.
The same with the password file. Sadly it just doesn't seem to work.
Anyone else tried this recently ?
Re: How to password a web folders ?
17-05-2008 9:12 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Can you post your .htaccess file and also say what directory it is in.
The path to the .htpasswd file you use should match what the pwd command gives you on the command line.
Re: How to password a web folders ?
17-05-2008 10:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I can see and read the '.' files OK. Just install 'Ext2IFS_1_11.exe' which I use to read my linux partitions.
Re: How to password a web folders ?
17-05-2008 11:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The guides do assume a little prior knowledge. With me it was trial and error until it worked

To argue with someone who has renounced the use of reason is like administering medicine to the dead - Thomas Paine
Re: How to password a web folders ?
18-05-2008 10:33 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
this is what I have set:
[quote=.htaccess]
AuthUserFile /share/isp/**1**/www/**2**/**3**/htdocs/**4**/.htpasswd
AuthName "Please log on"
AuthType Basic
require valid-user
Where:
**1** = "Plusnet" "Force9" or "freeonline"
**2** = The first two letters of your username
**3** = The whole of your username
**4** = The directory which you want to password protect. This must be everything after www.username.co.uk/
[quote=.htpasswd]
**1**:**2**
**3**:**4**
Where:
**1** = username 1
**2** = encrypted password 1
**3** = username 2
**4** = encrypted password 2
I encrypted passwords using http://usertools.plus.net/htpasswd/index.php, which is the plusnet version.
Just type your username and password in, and click submit.
Do it until you have all your usernames and passwords and then click submit again with the fields empty, and you will get the exact text you need to put into .htpassword.
I then transferred both htaccess.txt and htpassword.txt using windows explorer, into the directory which is shown in .htaccess. You have to put the two files into the directory which you want to password protect.#
The two files should now disappear, as they have been hidden.
To use Windows Explorer to transfer things to your website, just type ftp:// and then your url (ie. ftp://www.username.co.uk) into the bar at the top, and it will ask you for your login password for plusnet. I find this is the easiest way for me to transfer as it works in the same way as windows explorer normally works, and there isn't any complicated details which you need to look at.
Hopefully this will be of some help to you.
Re: How to password a web folders ?
18-05-2008 11:04 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I've messsed up the '.' files and locked myself out of the www. access.
Can you suggest how I can view, edit or delete the .htaccess and .htpasswd using IE7 ftp so I could try again? ftp access is OK but they are hidden (or reconfigured)
Re: How to password a web folders ?
18-05-2008 11:19 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Just use the dos ftp
ftp ftp.plus.net
<enter username & password>
ftp> cd htdocs/yourdirectory
ftp> del .htaccess
Re: How to password a web folders ?
18-05-2008 11:30 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
To replace them, just upload the correct form, and replace in the same way as you would in windows explorer.
Re: How to password a web folders ?
19-05-2008 7:51 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: How to password a web folders ?
19-05-2008 10:53 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If it still doesn't work, if you post the text you have for .htaccess in the forum, I can check if you have it all correct.
Re: How to password a web folders ?
20-05-2008 10:36 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: How to password a web folders ?
20-05-2008 11:34 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
What is the text in your .htaccess file?
Re: How to password a web folders ?
20-05-2008 8:12 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- How to password a web folders ?