Skip to content

papac/mkvirtualhost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mkvirtualhost

Create your apache virtual host

Usage

Install

Install of the mkvirtualhost is very easiest

$ git clone https://github.com/papac/mkvirtualhost.git --depth=1
$ cd mkvirtualhost
$ sudo cp virtual /usr/local/bin/mkvirtualhost
$ sudo mkvirtualhost help

Add virtualhost

Add virtual host

$ sudo mkvirtualhost add /path/to/your/documentroot domaine_name [option]

option

  • --with-git option is enabled, mkvirtualhost initialize git in your project
  • --with-local-log option is enabled, mkvirtualhost add the apache logs in your project

Remove virtualhost

Remove virtual host

$ sudo mkvirtualhost remove domaine_name

list virtualhost

List your enable virtual host

$ sudo mkvirtualhost list

has

Test if virtual host exist

$ sudo mkvirtaulhost has domain.dev

LICENSE

MIT

About

Make your virtual host

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages