mod_authn_alias and mod_auth_mysql

  • Jeff Williams

    Jeff Williams - 2007-02-14

    Is it possible to use mod_authn_alias with mod_auth_mysql?

    If so, can anyone provide an example?

    It seems like if it did work, you would do this:

    <AuthnProviderAlias baseProvider mysql_alias1>
        AuthMySQLHost localhost
        AuthMySQLUser myuser
        AuthMySQLPassword mypassword
        AuthMySQLDB webauth
        AuthMySQLUserTable user_pwd
        AuthMySQLNameField name
        AuthMySQLPasswordField pass
        AuthMySQLPwEncryption none

    <Directory /webpages/secure>

    Order deny,allow
    Allow from all

    AuthBasicProvider mysql_alias1
    AuthType Basic
    AuthName test auth
    Require valid-user


    But this doesn't seem to work.  Also, I don't know what to put for baseProvider in AuthnProviderAlias tag. (Assuming it even can work)


    • Jerry Stuckle

      Jerry Stuckle - 2007-02-26


      I don't know of anyone who's ever tried it.  As it seems modules must provide additional provider information,  I doubt mod_auth_mysql would work.



Log in to post a comment.