Apache の UserDir ディレクティブを有効にする

Red Hat Enterprise Linux 3 では、UserDir ディレクティブがデフォルトで無効になっている。

The UserDir directive is disabled by default because it can confirm the presence of a user account on the system.

UserDir ディレクティブを有効にするためには、/etc/httpd/conf/httpd.conf ファイル内の、

UserDir disabled

を、

UserDir public_html

などに書き換える必要がある。

UserDir ディレクティブの記述方法の詳細については、Apache のドキュメントを参照すること。

http://httpd.apache.org/docs-2.0/ja/mod/mod_userdir.html