|
|
Please consider registering: registration is fast, easy and free! Benefits of registration:
- Free advertising for your website: Every post in our forums goes towards a "credit" of ads, which are displayed on most pages of our forums. Each post gives you 400 ad impressions. To submit your ad, edit your profile.
- Discount at TemplateMonster: All our members enjoy a 10% discount at TemplateMonster.com!
|
- Private Messages: Exchange private messages with other members of the forums.
- Message Tracking/Subscription: phpBB enables you to subscribe to threads which interest you, and will then email you when a reply is posted. phpBB also remembers which posts registered users have read during a session, which means you can keep track of which posts you have already looked at.
|
|
| Author |
Message |
biker
Guest

|
Posted:
Wed Feb 18, 2004 12:59 pm (9 years, 3 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: 27
|
Posted:
Wed Feb 18, 2004 2:44 pm (9 years, 3 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: 610
Location: London
|
Posted:
Wed Feb 18, 2004 5:17 pm (9 years, 3 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 (6 years, 8 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.013236 seconds :: 16 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |