#1  
Old 13th September 2006, 13:08
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default htaccess

Hi i have ftp account on some hosting and i want to
set password for my folder.
How can i do that. I used before some directives in apache.conf
but htaccess didnt work. How can i set pass on folder via htaccess
Reply With Quote
Sponsored Links
  #2  
Old 14th September 2006, 20:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

You mean a password for ftp, or for http?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th September 2006, 14:57
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default

For http. I want to protect one folder.
Reply With Quote
  #4  
Old 17th September 2006, 00:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Put something like this into your .htaccess file:

Code:
AuthType Basic
AuthName "Members Only"
AuthUserFile /path/to/.htpasswd
<limit GET PUT POST>
require valid-user
</limit>
Then create .htpasswd with the htpasswd tool. See
Code:
man htpasswd
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
viewing a htaccess file in the ftp Boon-Dog-Danny Installation/Configuration 19 17th August 2006 18:33
htaccess issues TheJackal Installation/Configuration 1 29th July 2006 14:16
Drupal and Apache Rewrite Rules andre Server Operation 10 4th May 2006 22:04
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 20:29
htaccess changes BriX Installation/Configuration 2 26th February 2006 17:29


All times are GMT +2. The time now is 16:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.