Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
passwording a folder with .htaccess & .htpsswd
Topic Options
- 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
- :
- passwording a folder with .htaccess & .htpsswd
passwording a folder with .htaccess & .htpsswd
10-08-2007 2:22 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I've stup a folder called 'psswd_clubfiles' and want any pages in there to be protected by a basic password system.
I was told about .htaccess and shown a quick guide on how to use it.
I've set up the 2 files in the folder.
.htaccess
And
.htpsswd
It now asks me for a password but when i enter the details it won't let me in.
Any ideas?
http://www.theblue.plus.com/psswd_clubfiles/blank%20page.htm
user name admin
password admin1
Also tried
AuthUserFile .htpsswd
and
AuthUserFile /.htpsswd
as .htpsswrd is in the same folder but no luck.
Please help!
Ta
I was told about .htaccess and shown a quick guide on how to use it.
I've set up the 2 files in the folder.
.htaccess
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /psswrd_clubfiles/.htpsswd
AuthGroupFile /dev/null
require valid-user
And
.htpsswd
Chesterfield:g/AWzAKyf0LeM
It now asks me for a password but when i enter the details it won't let me in.
Any ideas?
http://www.theblue.plus.com/psswd_clubfiles/blank%20page.htm
user name admin
password admin1
Also tried
AuthUserFile .htpsswd
and
AuthUserFile /.htpsswd
as .htpsswrd is in the same folder but no luck.
Please help!
Ta
Message 1 of 3
(3,434 Views)
2 REPLIES 2
Re: passwording a folder with .htaccess & .htpsswd
10-08-2007 2:38 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The path to the .htpsswrd (should really be .htpasswd by convention) file is wrong. The path is not relative to your home directory but to the root of the webserver.
See http://usertools.plus.net/tutorials/id/5 which explains how to find the full path.
See http://usertools.plus.net/tutorials/id/5 which explains how to find the full path.
Message 2 of 3
(774 Views)
Re: passwording a folder with .htaccess & .htpsswd
10-08-2007 4:42 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks! all sorted!
Message 3 of 3
(774 Views)
Topic Options
- 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
- :
- passwording a folder with .htaccess & .htpsswd