Hi!
I'm not sure if this is right section for this, but feel free to move if so.

Im setting up a server on win2003, with php5.2.1 and apache2.2.4.
I have website, where users can create other users. This is done by php script which creaters folder for new user, copies index.php there and makes .htaccess & .htpassword files to this new folder. password to .htpasswd is made my crypt() function.

This used to work on other server, but now that i set up it on my own, it complains about password mismatch in the error_log.

Any ideas why this dosent work like on earlier server, where i had no problems? I can't get configs of earlier server, which would have possibly helped solving this..

-Tom

    23 days later

    what is win2003 ?

    I run at Windows XP Home
    Apache2.2.4 + PHP5.2.1
    with plenty of .htaccess files

    But then, I do never use HTTP Authentication.
    I always use custom PHP Scripts for authentication, login.

    So I have no .htpassword files, at all.
    So maybe I could not advice you.

    Still I think you should give more info, for to get help.

    What is in your config files, regarding User, HTaccess and Authentication?
    in:
    - apache httpd.conf
    - php.ini (run phpinfo() to see)
    -.htaccess

    You should NOT Post passwords but other relevant info on this issue.

    The more info, the more probably you get quick help.

    Regards
    halojoy
    🙂

      4 months later
      Write a Reply...