Where to put .htpasswd

Discussion in 'Software' started by Yzaraf, Mar 26, 2006.

  1. Yzaraf

    Yzaraf Private E-2

    okay so this is an .htaccess file in some folder.

    Code:
    AuthName "Restricted Area" 
    AuthType Basic 
    AuthUserFile /folder/.htpasswd 
    AuthGroupFile /dev/null 
    require valid-user
    Where is the .htpasswd file located in relation to this forlder?
     
  2. acejones

    acejones A Different Title

    so me, and i could be completely wrong, the .htaccess file is in a folder. according to the code above, you'll need to create a folder called "folder" and the .htpasswd goes in the folder named "folder"
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds