LinuxCommandLibrary

a2enconf

Enable Apache2 configuration files

TLDR

Enable a configuration file

$ sudo a2enconf [configuration_file]
copy
Don't show informative messages
$ sudo a2enconf -q [configuration_file]
copy

SYNOPSIS

a2enconf [-q|--quiet] [-m|--maintmode] [configuration]

DESCRIPTION

a2enconf is a Debian-specific utility that enables Apache2 configuration files by creating symbolic links in /etc/apache2/conf-enabled pointing to files in /etc/apache2/conf-available.
The tool works alongside a2disconf, which disables configurations. After enabling a configuration, Apache must be restarted or reloaded for changes to take effect.

PARAMETERS

-q, --quiet

Don't show informative messages
-m, --maintmode
Enables maintainer mode; the program invocation is effectuated automatically by a maintainer script

CAVEATS

This utility is Debian-specific and not available on other Linux distributions. Configuration changes require an Apache restart or reload to take effect.

HISTORY

Created as part of the Apache2 package for Debian GNU/Linux. The manual page was authored by Arno Toell and dates to February 2012.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard