-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
26 lines (18 loc) · 886 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Autopache, version 1.3. Written by Dan Dart
License: MIT
Autopache is a tool written in bash to automatically setup Apache vhosts
under Debian-based systems.
To install, run:
$ sudo ./install.sh
To setup a vhost, go to the public directory and run:
$ sudo autopache.sh [vhostname]
This will setup the vhost for you using the template included,
add an entry to your /etc/hosts file and restart Apache.
You can optionally use the following parameters:
$ sudo autopache.sh [vhostname] --delete
Deletes the vhost entry and hosts entry and restart Apache
$ sudo autopache.sh [vhostname] --open
When finished, opens your default browser displaying the new vhost page.
To remove the program without the configuration files, use the following options:
$ sudo autopache.sh --remove # Removes only the program
$ sudo autopache.sh --purge # Removes the program and the configuration file.