Arch-Linux

10 thoughts
last posted March 28, 2015, 11:49 a.m.

6 earlier thoughts

0

Virtual Host Manager for Arch Linux

Gist

~$ sudo chmod +x vhost-manager.py
~$ sudo ./vhost-manager.py -m add -n vserver1
Creating project folder...
Creating public_html folder...
Creating virtual host file...
Adding to hosts file...
Restarting httpd service...
DONE!

sudo ./vhost-manager.oy -m remove -n vserver1
Removing project folder...
Removing virtual host file...
DONE!

3 later thoughts