Skip to content

fkobon/mkvirtualhost

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 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/mkvirtaulhost
$ 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

Packages

No packages published

Languages

  • Shell 100.0%