puppet-lamp-stack
puppet-lamp-stack copied to clipboard
Add Script to change virtualhost file
I often need to switch where the location of server document root is. I wrote a simple script and added usage info in order to change the server document root in one command.
As shown in the README.md file, simply cd to the /vagrant
directory then run sudo php chvhost.php "myproject/public"
This sets /vagrant/myproject/public as the server document root.
Shoot me an email if you like: [email protected]