Results 1 to 2 of 2
  1. #1

    Apache mysql autentification driving me nuts

    Hello again.

    I am attempting to configure mod_auth_mysql on Mandriva linux. It seems that database is set well since if I attempt to log as a valid user with invalid password, the logs says "user xxx password mismatch. Thus it reads the database OK. If I provide correct password I got configuration error screen and log message "no Authn provider configured, configuration error: could not check access".

    But I set AuthMySQLAuthoritative ON !!

    I spend the full afternoon with this and I will be more then gratefull for some help.


    Vaclav


    <Directory /var/www/html/test>
    AuthName "Awstats"
    AuthType Basic
    AuthMySQLUser apache
    AuthMySQLHost localhost
    AuthMySQLEnable On
    AuthMySQLPassword xxxxx
    AuthMySQLDB apache
    AuthMySQLUserTable mysql_auth
    AuthMySQLNameField username
    AuthMySQLPasswordField passwd
    AuthMySQLPwEncryption none
    AuthMySQLAuthoritative On
    require valid-user
    </Directory>

    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule info_module modules/mod_info.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule env_module modules/mod_env.so
    mod_auth_mysql is in extramodules

  2. #2
    solved
    Unlile Apache 2, Apache 2.2 needs a whole bunch of modules http://httpd.apache.org/docs/2.2/howto/auth.html

Posting Permissions

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