You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Simon Vieille 8fb6f695d9 add documentation 1 week ago
bin add command params 1 week ago
etc add configurable fcgi module 2 months ago
share/bin add command params 1 week ago
src add configurable fcgi module 2 months ago
.gitignore add documentation 1 year ago
Makefile fix build of crypt 2 months ago
README.md add documentation 1 week ago

README.md

VHOST-MANAGER

VHOST-MANAGE helps you to create apache2 vhosts.

Requirements

  • PHP
  • /bin/sh
  • GCC
  • whiptail
  • wget
  • make

Installation

$ sudo apt install gcc whiptail wget make
$ sudo apt install <php stuff>
$ git clone https://gitnet.fr/deblan/vhost-manager.git
$ cd vhost-manager
$ make

Configuration

$ cp etc/config.dist etc/config
$ vim etc/config

Usage

USAGE:
  ./bin/vhost-add [options]

OPTIONS:
  -d                 The domain name
  -a                 Aliase(s)
  -m value           Enable *http* or *https*
  -r                 Force redirection of http to https
  -p value           Enable PHP with the given version (eg: 8.0)
  -u value           Username in the system
  -i                 Enable script interactivity
  -h                 Show this help

Example:

$ sudo vhost-add -m http -m https -r -d example.com -a www.example.com -p 8.0 -u example -i