need help with .htpasswd

Discussion in 'OT Technology' started by wiredout46, Jan 14, 2005.

  1. wiredout46

    wiredout46 臭黑鬼 OT Supporter

    Joined:
    Nov 24, 2003
    Messages:
    35,928
    Likes Received:
    44
    Location:
    bay area, ca
    i cannot, for the life of me, to get my webbrowser to recognize my login/pw

    if somebody could write a brief tutorial that would be very much appreciated. tia.
     
  2. samm

    samm Next in Line

    Joined:
    Dec 22, 2000
    Messages:
    2,630
    Likes Received:
    0
    Location:
    San Jose, CA
    Here is my .htaccess file for my portfolio project directory:

    AuthUserFile /Users/samm/public_html/Portfolio/project_files/.htpasswd
    AuthType Basic
    AuthName "Sam Miller's Portfolio"
    AuthGroupFile /dev/null
    require user portfolio

    Then you create a .htpasswd file in the same directory, use google to find a password generator since it's an md5 hash I believe.
     

Share This Page