Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unnikked/apache-virtualhost-manager
A small bash script that lets you manage your apache Virtual Host
https://github.com/unnikked/apache-virtualhost-manager
Last synced: 2 months ago
JSON representation
A small bash script that lets you manage your apache Virtual Host
- Host: GitHub
- URL: https://github.com/unnikked/apache-virtualhost-manager
- Owner: unnikked
- License: mit
- Created: 2014-08-25T19:19:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-12T16:20:43.000Z (about 9 years ago)
- Last Synced: 2024-10-12T11:08:31.958Z (3 months ago)
- Language: Shell
- Size: 146 KB
- Stars: 34
- Watchers: 5
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VirtualHost manager for Apache 2.4.7
Since I test various opensource selfhosted apps on my virtual machine I decided to create a small script written in bash that helps me to configure initial settings.
I've tested it on Ubuntu 14.04 LTS, it should work also for earlier version and with different Apache versione, please let me know.
I might update the script for backward and future compatibility.
This release it is only a prototype.
## What does the script do?
This script basically lets you create, delete or list all available apache VirtualHost.## Syntax
```
Usage: vhost-manager -vh [-a ACTION ] [-e EMAIL] [-w DOMAIN_NAME] [-n VHOST_NAME] [-d DIR_NAME]
-a create, delete or list
-e webmaster email
-w domain name (eg example.com)
-n name of the virtual host (if not specified it uses
DOMAIN_NAME)
-d directory name of the root directory (if not specified it uses
VHOST_NAME)
-v verbose
-h this help
```
## How to installSimply clone this repo
```bash
git clone https://github.com/unnikked/Apache-VirtualHost-Manager.git
```and then add execution permission to the script
```bash
chmod +x Apache-VirtualHost-Manager/vhost-manager.sh
```I suggest you to add this script either on your bash path envirornment or on your `/usr/bin` folder