Which Apache HTTPD configuration directive is used to specify the method of authentication, e.g. None or Basic?

A. AuthUser
B. AllowedAuthUser
C. AuthType
D. AllowAuth

题解

Apache 设置档的「AuthType」命令可以设置验证用户访问目录的方式。除「None」之外还有以下几个设置值:

  • Basic
  • Digest
  • Form

以上是不同的验证方式,并没有绝对的优劣之分。

因此答案是选项「C」。