开发者

500 error when setting up directory protection with mod_authn_dbd

I'm trying to use mod_authn_dbd to password protect a directory.

I used the code from their apache help page, but it's chocking on the DBDriver line

# 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.

The documentation says Please note that you need to load an authorization module, such as mod_authz_user, to get it working. but I have no idea how to do that.

Any idea how to fix this?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜