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 </AuthnProviderAlias>
<Directory /webpages/secure>
Order deny,allow Allow from all
AuthBasicProvider mysql_alias1 AuthType Basic AuthName test auth Require valid-user
</Directory>
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)
Thanks, Jeff
Jeff,
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.
Jerry
Log in to post a comment.
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
</AuthnProviderAlias>
<Directory /webpages/secure>
Order deny,allow
Allow from all
AuthBasicProvider mysql_alias1
AuthType Basic
AuthName test auth
Require valid-user
</Directory>
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)
Thanks,
Jeff
Jeff,
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.
Jerry