Skip to content

A shell script for creating virtualhosts with command line

Notifications You must be signed in to change notification settings

SpiZeak/virtualhost-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

virtualhost-script-for-MacOS

A shell script for creating virtualhosts with command line

Installation

sudo mv virtualhost /usr/local/bin && chmod a+x /usr/local/bin/virtualhost

In Apache config add: Include /private/etc/apache2/virtualhosts/*

Usage

virtualhost

Usage: virtualhost <name> [<optional path>]
       virtualhost list
       virtualhost edit <name>
       virtualhost delete <name>
   where <name> is the one-word name you'd like to use. (e.g. mysite.dev)

About

A shell script for creating virtualhosts with command line

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages