ブックマーク / centossrv.com (1)

  • ユーザーディレクトリ作成(/~ユーザー名/) - CentOSで自宅サーバー構築

    一般ユーザーにホームページスペースを提供できるようにする。 ここでは、ホームページスペース提供サービスを行っている一般的なWebサーバーと同様な、http://centossrv.com/~ユーザー名/というURLの他に、http://centossrv.com/ユーザー名/及び、http://centossrv.com/userdir/ユーザー名/でも、一般ユーザーが作成したホームページへアクセスできるようにする。 なお、ここでは一般ユーザー名をcentosとして説明する。 【CentOS7の場合】 [root@centos ~]# vi /etc/httpd/conf.d/userdir.conf ← userdir設定ファイル編集 <IfModule mod_userdir.c> # # UserDir is disabled by default since it can conf

  • 1