Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: ' htpasswd '

  1. #1
    New to the CF scene
    Join Date
    Feb 2004
    Thanked 0 Times in 0 Posts

    ' htpasswd '

    I recently set up my ".htaccess" at << You DONT have to look if you dont want too

    Now, I enter
    "admin" as my username, and "k7YuHeFv"
    (Without the quotes) as my password...

    However, I came accross a tutorial site that had said it will encrypt your password for you if you type it in the box
    So I typed in k7YuHeFv - and it said it had "encrypted" it
    so it came out with this wLhGEkTk9tqkA

    So then it said beneath that, make your htpasswd
    file like this:


    then save it as htpasswd

    So I did that, but for some reason it doesn't work on my login?
    Does anyone know why this is occuring?
    IE: Go to if you want...
    And enter admin as the username, and k7YuHeFv
    As the password.... Notice it doesn't work....
    Would anyone know why that is?
    Do I need to change the wLhGEkTk9tqkA
    to my actual password I want maybe?

    Last edited by Labbat; 02-04-2004 at 09:13 PM.

  2. #2
    Super Moderator
    Join Date
    May 2002
    Perth Australia
    Thanked 110 Times in 108 Posts
    your server is apache on windows , you probably got the password hash from a site running *NIX , whilst htpasswd program is essentially the same on both , *NIX & win32 use different hashing algorithms.

    as you have apache you probably have the htpasswd program in c:/program files/apache group/apache/bin/ (or similar)

    use that to create your password files and they will work ( open a dos window and cd to the /bin directory and type `htpasswd --help` for more info )
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  3. #3
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Marion, IA USA
    Thanked 84 Times in 83 Posts
    And is this doesn't seem to have anything to do with PHP let's move it to the Other Server Side Issues forum....
    CodingForums Supreme Overlord
    All Hail Spookster


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts