|
Author |
Message |
biker
Guest
|
Posted:
Wed Feb 18, 2004 12:59 pm (20 years, 10 months ago) |
|
Hi I have created a directory called members on my site amd placed the .htaccess and .htpasswd files in there, but the htaccess file can not find the .htpasswd
the .htaccess file looks like this
AuthName "Members Only"
AuthType Basic
AuthUserFile /members/.htpasswd
require valid-user
Could nayone shed any light where I've gone wrong
Thanks |
|
|
|
|
OllieMaitland
Junior WebHelper
Joined: 06 Dec 2003
Posts: 25
|
Posted:
Wed Feb 18, 2004 2:44 pm (20 years, 10 months ago) |
|
I think the .htaccess file takes the .htpasswd file from the server root if you put a leading slash so try either "members/.htpasswd" or "/absolute/path/to/dir/members/.htpasswd" |
|
|
|
|
Darren
Team Member
Joined: 05 Feb 2002
Posts: 549
Location: London
|
Posted:
Wed Feb 18, 2004 5:17 pm (20 years, 10 months ago) |
|
Moved to the appropriate forum - the 'Our Site: Feedback & Questions' is not a catch all for those who can't be bothered to register |
|
|
|
|
bluesky
Junior WebHelper
Joined: 26 Sep 2006
Posts: 6
|
Posted:
Tue Sep 26, 2006 9:20 pm (18 years, 3 months ago) |
|
I'm having a similar problem with restricting access. As I understand it, I need to use the absolute UNIX path in my .htaccess file for the AuthUserFile line. Problem is my ISP tech support doesn't know how to give me the absolute UNIX path! The only access to the space is via FTP or their frontend on their website. Is there anyway I can get it? |
________________________________ http://encoding.n3.net <-- for all your CD and DVD backup needs. |
|
|
|
|
|
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 vote in polls in this forum.
|
Page generation time: 0.128633 seconds :: 16 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |