Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 830 Bytes

README.md

File metadata and controls

43 lines (32 loc) · 830 Bytes

centos-httpd-tools

A Debian user and fan, found myself in RedHat community and the stress of making symbolic links to just enable sites was tiring, I came up with this to help myself.

Dependencies

  • httpd
  • Python 3

Features

  • Enable and disable sites
  • Show enabled and disabled sites

How to use:

Grant executable permission

$ sudo chmod u=rwx ./httpd-tools.py

Enable a site:

$ sudo ./httpd-tools.py ensite site.conf

Disable a site:

$ sudo ./httpd-tools.py dissite site.conf

Show available/disabled sites

$ sudo ./httpd-tools.py show available

Show enabled sites

$ sudo ./httpd-tools.py show enabled

Contribute

You are free to fork or contribute. I have some other things taking my time, but in free time I improve this program.

Shalom!