Creating Virtual Hosts for MAMP and LAMP.
##How to use
The script needs root-access to write into some files and directories.
Configuration can be changed in lib/configuration.rb.
The files lib/file_html.rb and lib/file_vhost.rb are templates.
To run the script: sudo ruby main.rb