pgib/virtualhost.sh — pull request #50 by flashbag (2014-01-03 22:45:13+00:00)
Title: Modified for using in Apache2.4 (using namebased virtualhost)

Ubuntu 13.10 has migrated to Apache2.4 which is using name based virtual hosts. This means that you can host multiple virtualhost on the sam IP address, by default 127.0.0.1. I have modified this bash script for using name based virtual hosts automatic adding/removing.