サーバを立ち上げてからの手順②追加:ユーザディレクトリアクセス方法変更
ユーザディレクトリアクセスは、現在、http://IPアドレス/~ユーザ名/ になっていますが、~いやですよね
その時は、
# vi /etc/httpd/conf/httpd.conf
に以下を追加すればOKです。
<VirtualHost *:80> ServerAdmin メールアドレス DocumentRoot /home/ユーザ名/www/ ServerName サーバ名 ErrorLog logs/******-error_log CustomLog logs/******-access_log common </VirtualHost>
すると、ServerNameに書いたものでアクセスできます。