Apache

Web server Free

Manage Apache from Cockpit: sites, configuration, logs, firewall and SELinux.

Create and edit virtual hosts (websites and reverse proxies, HTTPS), edit any Apache config file with automatic backups and rollback, read logs live, and see every virtual host Apache has loaded.

What this module can do

  • Reads and edits files in /etc/httpd (a backup is kept before every change)
  • Starts, stops, reloads and enables the httpd service
  • Creates document roots and sets their SELinux labels
  • Changes firewall rules for HTTP/HTTPS and Apache SELinux booleans
  • Runs these actions as root, only when you turn on administrative access

Install

With the Devsey Marketplace set up, open it in Cockpit and press Install on this module. Or from a terminal:

dnf install cockpit-devsey-apache

Set up the marketplace

  1. Trust the Devsey signing key
    rpm --import https://packages.devsey.com/RPM-GPG-KEY-devsey

    Check that the fingerprint matches before you continue:

    curl -s https://packages.devsey.com/RPM-GPG-KEY-devsey | gpg --show-keys

    92E1 B507 A84A 2A8A A4E3 98A5 AC73 F12D FB9F 48E2

  2. Add the repository
    curl -o /etc/yum.repos.d/devsey.repo https://packages.devsey.com/devsey.repo
  3. Install the marketplace
    dnf install cockpit-devsey-marketplace

    Log out of Cockpit and back in. Devsey Marketplace appears in the menu, ready to install the rest.