在Apacheconfiguration中,应该是“UserDir禁用”还是“UserDir禁用”?

我比较了两个Apacheconfiguration文件( httpd.conf ),一个在Apache 2.2.15的CentOS 6.2虚拟机上,一个在Apache 2.2.3的RedHat 5.8服务器上,我看到一个奇怪的差别。

 UserDir disabled | UserDir disable # directory, remove the "UserDir disabled" line above, an | # directory, remove the "UserDir disable" line above, and 

在一种情况下使用UserDir disabled ,并在其他UserDir disable使用。 没有看到差异? 一个以d结尾,另一个不使用形容词来引用UserDir的结果状态 ,另一个使用动词告诉Apache应该对UserDir 做些什么。

哪个是对的? 两者都能工作吗?

更新 :鉴于这似乎是一个系统pipe理员错误,而不是从一个版本的Apache到另一个版本的语法变化,或者在RedHat的Apache分发错误,我想这个问题可能是无用的,我应该删除它。 思考?

UserDir disabled是正确的语法; 关键字的文档就在这里 。

disable将可能仍然有效地禁用行为; 除非你的用户有~/disable目录,那么没有任何东西可以映射到这个名字。