puppet-lamp-stack icon indicating copy to clipboard operation
puppet-lamp-stack copied to clipboard

Add Script to change virtualhost file

Open anglinb opened this issue 11 years ago • 0 comments

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]

anglinb avatar Oct 24 '13 21:10 anglinb