Menu

Authorization fails

Help
hooky
2005-01-27
2013-04-23
  • hooky

    hooky - 2005-01-27

    Hi,

    Is installed the module and started apache without problems, but I just can't login.

    hoere's my htaccess file:

    AuthName "MySQL Testing"
    AuthType Basic
    AuthMySQLEnable On
    AuthMySQLHost localhost
    AuthMySQLDB andrologie
    AuthMySQLUserTable lab
    AuthMySQLNameField naam
    AuthMySQLPasswordField password
    AuthMySQLPwEncryption none
    AuthMySQLKeepAlive Off
    AuthMySQLAuthoritative On
    require valid-user

    Is therean error in my configuration?

    Thanx in advance,

    Mark

     
    • Jerry Stuckle

      Jerry Stuckle - 2005-01-27

      Hi, Mark,

      Depending on your setup, you'll probably also need to specify AuthMySQLUser and, if a password is required (highly recommended), AuthMySQLPassword. These can also be set to defaults at compile time.   I assume you've checked the database, table, etc. to ensure they are correct.

      Look at the Apache error logs; you should see some errors from mod_auth_mysql indicating reason for the failure.

      Jerry

       
      • hooky

        hooky - 2005-01-28

        Hy again,

        I read the apache error log:

        [Fri Jan 28 09:42:24 2005] [error] MySQL ERROR: Access denied for user:
        'www-data@localhost' (Using password: NO)
        [Fri Jan 28 09:42:24 2005] [error] MySQL user mark not found: /professionals/sem
        enanalyse/files/1/cdsingle.pdf

        Seems simple, I forgot to name the mysql user...

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.