I'm comparing two Apache config files (httpd.conf
), one on a CentOS 6.2 VM with Apache 2.2.15 and one on a RedHat 5.8 server with Apache 2.2.3, and I see a strange difference.
UserDir disabled | UserDir disable
# directory, remove the "UserDir disabled" line above, an | # directory, remove the "UserDir disable" line above, and
In one case UserDir disabled
is used, and in the other UserDir disable
is used. Didn't see the difference? One ends in d
and the other doesn't—one uses an adjective referring to the resultant state of UserDir
, and the other uses a verb telling what Apache should do to UserDir
.
Which is right? Will both work?
UPDATE: Given that this appears to be a sysadmin error, and not a change in syntax from one version of Apache to another, or a mistake in RedHat's distribution of apache, I'm thinking this question may be useless to others and I should delete it. Thoughts?
UserDir disabled
is the correct syntax; documentation on the keyword is here.disable
will probably still effectively disable the behavior; unless your users have directories at~/disable
then there's nothing to map to with that name.