使用mod_authn_dbd设置目录保护时出现500错误

时间:2010-07-05 07:59:17

标签: php apache .htaccess login

我正在尝试使用mod_authn_dbd来密码保护目录。

我使用了apache help page中的代码,但它正在DBDriver

# mod_dbd configuration
DBDriver mysql //modified
DBDParams "dbname=mydbname user=myuser password=mypass" //modified

/path/to/folder/.htaccess: Invalid command 'DBDriver', perhaps misspelled or defined by a module not included in the server configuration

文档说Please note that you need to load an authorization module, such as mod_authz_user, to get it working.但我不知道该怎么做。

知道如何解决这个问题吗?

0 个答案:

没有答案