* Plesk [#web8fe33]
** ウェブサイト(ヴァーチャルホスト)の作成 [#e1ce5a1d]
- 「クライアント」の「新しいクライアントアカウント」でクライアントを作る。
- 「ドメイン」の「新しいドメインの追加」でウェブサイトを作る。
- /home/httpd/vhosts/example.com/にファイルができる。
** ウェブサイト(ヴァーチャルホスト)固有の設定をする [#e20240b7]
cd /home/httpd/vhosts/example.com/conf
cat > vhost.conf
Alias /test /some/where
(CTRL+D)
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=example.com
/etc/init.d/httpd restart
vhost.confはhttpd.includeの<VirtualHost></VirtualHost>内でインクルードされる。
- vhost.confはhttpd.includeの<VirtualHost></VirtualHost>内でインクルードされる。
- http://support.clara.jp/clarafaq/index.php?action=artikel&id=157&artlang=ja