Skip to content

A script for Ubuntu to create virtual hosts under Apache

Notifications You must be signed in to change notification settings

ivoba/virtualhost.sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

A fancy little script to setup a new virtualhost in Ubuntu based upon the
excellent virtualhost (V1.04) script by Patrick Gibson patrick@patrickg.com for OS X: https://github.com/pgib/virtualhost.sh

Downloading

You can grab the script here (Option-click to download.)

Documentation

This installer is a fork of: https://github.com/pgib/virtualhost.sh
See the wiki there.

If you have upgraded from previous Ubuntu versions to 13.10 and you kept your apache.conf file, make sure your apache.conf also loads *.conf files:

# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf

Since 13.10 a2ensite handles only files with "conf" suffix and this script has to rely on this.

About

A script for Ubuntu to create virtual hosts under Apache

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%