apache-control
v1.0.4
Published
cli to help control apache2
Downloads
14
Readme
Apache-Control
Apache-Control is a CLI that helps make doing apache2 tasks easily. You can restart apache, create a subdomain, activate or deactivate a site, or delete an inactive subdomain conf file.
Installation
npm install -g apache-control
Usage
apachecontrol
Options
- Restart Apache: restarts apache
- Create A Subdomain: Creates a conf file with a given hostname, and subdomain name. Can automaticly activate it and restart apache if you choose.
- Enable A Site: Enables a site conf file. Restarts Apache
- Disable A Site: Disables an enabled site conf file. Restarts Apache
- Delete A Site Conf: Deletes a site conf file that is not already activated.
- Exit: Exits the cli