Skip to content

Virtual hosts manager for the Apache server.

License

Notifications You must be signed in to change notification settings

danielkurecka/vhosts-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vhosts Manager

This is a tool for managing virtual hosts of the Apache server in Debian based distributions.

It automates these things:

  • creates virtual host from predefined template
  • adds entry to /etc/hosts file
  • reloades apache configuration

Installation:

Atleast PHP 5.4 is required.

Clone the repository somewhere (eg. to /opt/vhosts-manager):

git clone https://github.com/danielkurecka/vhosts-manager

You may optionally create a symlink in /usr/bin for the executable:

sudo ln -s /opt/vhosts-manager/bin/vhm /usr/bin/vhm

Usage:

Create a new virtual host:

sudo vhm add example.local path/to/my-project

Remove virtual host:

sudo vhm remove example.local

About

Virtual hosts manager for the Apache server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages