Skip to content

CentOS/Fedora httpd tools like ensite and dissite in Debian

License

Notifications You must be signed in to change notification settings

donjajo/centos-httpd-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

CentOS/Fedora httpd tools like ensite and dissite in Debian

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages