UbuntuのApache2は、デフォルトでは各ユーザディレクトリ下のpublic_htmlを公開できるようになっていません。 $ curl http://localhost/~<ユーザ>/ 2>&1 | grep title <title>404 Not Found</title> $ 設定 Apache2のモジュールは、a2enmodで有効にできます。 ユーザディレクトリの公開は、userdirモジュールを有効にすることで使えるようになります。 $ sudo a2enmod userdir Enabling module userdir. To activate the new configuration, you need to run: service apache2 restart $ sudo service apache2 restart * Restarting web s