<IfModule mod_userdir.c> # # UserDir is disabled by default since it can confirm the presence # of a username on the system (depending on home directory # permissions). # # UserDir disable
# # To enable requests to /~user/ to serve the user's public_html # directory, remove the "UserDir disable" line above, and uncomment # the following line instead: # UserDir public_html </IfModule>
<Directory /home/*/public_html> AllowOverride All Options Includes ExecCGI FollowSymlinks <Limit GET POST OPTIONS> Order allow,deny Allow from all </Limit> # <LimitExcept GET POST OPTIONS> # Order deny,allow # Deny from all # </LimitExcept> </Directory>
strangerさん、早速のお返事ありがとうございます。 ------------------------------------------------------------------------------ ※:一般ユーザであることに注意して下さい。(カレントパスも「/home/linux」です) 「public_html」パスを作成 $ mkdir public_html パーミッション「other」が読み取れる様にする $ chmod 701 /home/linux 実行権を付与する $ chmod 755 /home/linux/public_html ------------------------------------------------------------------------------ この説明に従ってパーミッションの設定を行いました。今/home/linixのパーミッションを711にしてみましたが状況は変わりません。 ----------------------------------------------------------------------------- Not Found The requested URL /~linux was not found on this server. ----------------------------------------------------------------------------- となってしまいます。あとは何を調べたらよいでしょうか?