apache.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 28 May 2025 06:57:10 +0300
changeset 2596 9232f5c05694
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Validate Apache config.

.. -*- coding: utf-8; -*-

====================
 Apache HTTP server
====================
.. contents::
   :local:

How to reload config file?
==========================

For Linux::

  $ /etc/init.d/apache2 restart

or for FreeBSD::

  $ /usr/local/etc/rc.d/apache2 restart

Validate Apache config
======================

System wide installation::

  sudo apachectl configtest
  sudo apache2ctl -t