niiyz
4/9/2015 - 9:07 AM

ScotchBoxのドキュメントルート変更(ubutu)

ScotchBoxのドキュメントルート変更(ubutu)

yoshida-book% vagrant ssh
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-23-generic x86_64)

 * Documentation:  https://help.ubuntu.com/


 
 $$$$$$\   $$$$$$\   $$$$$$\ $$$$$$$$\  $$$$$$\  $$\   $$\ 
$$  __$$\ $$  __$$\ $$  __$$\\__$$  __|$$  __$$\ $$ |  $$ |
$$ /  \__|$$ /  \__|$$ /  $$ |  $$ |   $$ /  \__|$$ |  $$ |
\$$$$$$\  $$ |      $$ |  $$ |  $$ |   $$ |      $$$$$$$$ |
 \____$$\ $$ |      $$ |  $$ |  $$ |   $$ |      $$  __$$ |
$$\   $$ |$$ |  $$\ $$ |  $$ |  $$ |   $$ |  $$\ $$ |  $$ |
\$$$$$$  |\$$$$$$  | $$$$$$  |  $$ |   \$$$$$$  |$$ |  $$ |
 \______/  \______/  \______/   \__|    \______/ \__|  \__|
                                                           
                                                           
                                                           
$$$$$$$\   $$$$$$\  $$\   $$\                              
$$  __$$\ $$  __$$\ $$ |  $$ |                             
$$ |  $$ |$$ /  $$ |\$$\ $$  |                             
$$$$$$$\ |$$ |  $$ | \$$$$  /                              
$$  __$$\ $$ |  $$ | $$  $$<                               
$$ |  $$ |$$ |  $$ |$$  /\$$\                              
$$$$$$$  | $$$$$$  |$$ /  $$ |                             
\_______/  \______/ \__|  \__|                             
                                                                                                                          
For help, please visit box.scotch.io or scotch.io. Follow us on Twitter at @scotch_io and at @nickforthought.


Last login: Thu Apr  9 08:59:34 2015 from 10.0.2.2
vagrant@yell:~$ sudo vi /etc/apache2/sites-available/000-default.conf

   Edit DocumentRoot /var/www/public -> /var/www

vagrant@yell:~$ sudo /etc/init.d/apache2 restart