一般ユーザに(~userで)ホームページを割り付ける方法
Modified: 29 April 2003
"UserDir"ディレクティブで指定する
以下のように、"UserDir public_html" と指定すると、すべてのユーザのホームディレクトリの"public_html"以下が、公開できます。
つまり、各ユーザのホームディレクトリに、"public_html"を作成し、"index.html"をおくと、
"http://rh73-32.tomo.ac/~user"
で開きます。
: : <VirtualHost rh73-32.tomo.ac> ServerAdmin tomo@tomo.ac DocumentRoot /var/www/html ServerName rh73-32.tomo.ac ErrorLog logs/rh73-32.tomo.ac-error_log CustomLog logs/rh73-32.tomo.ac-access_log common UserDir public_html </VirtualHost> : :