Skip to content

jorgeeferreyra/linux-vhostman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

vhostman for Linux

What is it?

A little PHP script to quickly add, remove or list vhosts to your local apache configuration for development purposes on Linux.

Installation

Ensure it's executable:

chmod u+x /path/to/vhostman

Link this into your /usr/local/bin like so:

ln -s /path/to/vhostman /usr/local/bin/vhostman

Usage

Show existing vhosts

sudo vhostman list

Add a new vhost

sudo vhostman add example.local ~/path/to/example

Remove an existing vhost

sudo vhostman rm example.local

About

PHP script to manage virtualhosts on Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published