4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu
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.

 .htaccess
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
biker
Guest





PostPosted: Wed Feb 18, 2004 12:59 pm (10 years, 9 months ago) Reply with QuoteBack to Top

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
OfflineFind all posts by Anonymous
OllieMaitland
Junior WebHelper
Junior WebHelper


Joined: 06 Dec 2003
Posts: 25

PostPosted: Wed Feb 18, 2004 2:44 pm (10 years, 9 months ago) Reply with QuoteBack to Top

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"
OfflineView User's ProfileFind all posts by OllieMaitlandSend Personal MessageSend email
Darren
Team Member



Joined: 05 Feb 2002
Posts: 549
Location: London

PostPosted: Wed Feb 18, 2004 5:17 pm (10 years, 9 months ago) Reply with QuoteBack to Top

Moved to the appropriate forum - the 'Our Site: Feedback & Questions' is not a catch all for those who can't be bothered to register Wink
OfflineView User's ProfileFind all posts by DarrenSend Personal MessageVisit Poster's Website
bluesky
Junior WebHelper
Junior WebHelper


Joined: 26 Sep 2006
Posts: 6

PostPosted: Tue Sep 26, 2006 9:20 pm (8 years, 2 months ago) Reply with QuoteBack to Top

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.
OfflineView User's ProfileFind all posts by blueskySend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




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.

PoignantEase
Web design, coding, script installation, phpBB customisation - From a 4WebHelp team member



Page generation time: 0.064964 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme