{
    "content": [
        {
            "type": "text",
            "text": "# a2enconf (man)\n\n## NAME\n\na2enconf, a2disconf - enable or disable an apache2 configuration file\n\n## SYNOPSIS\n\na2enconf [-q|--quiet] [-m|--maintmode] [ configuration ]\na2disconf [-q|--quiet] [-m|--maintmode] [-p|--purge] [ configuration ]\n\n## DESCRIPTION\n\nThis manual page documents briefly the a2enconf and a2disconf commands.\n\n## TLDR\n\n> Enable an Apache configuration file on Debian-based OSes.\n\n- Enable a configuration file:\n  `sudo a2enconf {{configuration_file}}`\n- Don't show informative messages:\n  `sudo a2enconf {{-q|--quiet}} {{configuration_file}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (3 subsections)\n- **EXIT STATUS**\n- **EXAMPLES**\n- **FILES** (2 subsections)\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "a2enconf",
        "section": "",
        "mode": "man",
        "summary": "a2enconf, a2disconf - enable or disable an apache2 configuration file",
        "synopsis": "a2enconf [-q|--quiet] [-m|--maintmode] [ configuration ]\na2disconf [-q|--quiet] [-m|--maintmode] [-p|--purge] [ configuration ]",
        "tldr_summary": "Enable an Apache configuration file on Debian-based OSes.",
        "tldr_examples": [
            {
                "description": "Enable a configuration file",
                "command": "sudo a2enconf {{configuration_file}}"
            },
            {
                "description": "Don't show informative messages",
                "command": "sudo a2enconf {{-q|--quiet}} {{configuration_file}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-q",
                "long": "--quiet",
                "arg": null,
                "description": "Don't show informative messages."
            },
            {
                "flag": "-m",
                "long": "--maintmode",
                "arg": null,
                "description": "Enables the maintainer mode, that is the program invocation is effectuated automati‐ cally by a maintainer script. This switch should not be used by end users."
            },
            {
                "flag": "-p",
                "long": "--purge",
                "arg": null,
                "description": "When disabling a module, purge all traces of the module in the internal state data base."
            }
        ],
        "examples": [
            "a2enconf security",
            "a2disconf charset",
            "Enables  Apache  security directives stored in the security configuration files, and disables",
            "the charset configuration."
        ],
        "see_also": [
            {
                "name": "apache2ctl",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/apache2ctl/8/json"
            },
            {
                "name": "a2enmod",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/a2enmod/8/json"
            },
            {
                "name": "a2dismod",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/a2dismod/8/json"
            },
            {
                "name": "a2ensite",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/a2ensite/8/json"
            },
            {
                "name": "a2dissite",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/a2dissite/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-q, --quiet",
                        "lines": 2,
                        "flag": "-q",
                        "long": "--quiet"
                    },
                    {
                        "name": "-m, --maintmode",
                        "lines": 3,
                        "flag": "-m",
                        "long": "--maintmode"
                    },
                    {
                        "name": "-p, --purge",
                        "lines": 3,
                        "flag": "-p",
                        "long": "--purge"
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 1,
                "subsections": [
                    {
                        "name": "/etc/apache2/conf-available",
                        "lines": 2
                    },
                    {
                        "name": "/etc/apache2/conf-enabled",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "a2enconf, a2disconf - enable or disable an apache2 configuration file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "a2enconf [-q|--quiet] [-m|--maintmode] [ configuration ]\n\na2disconf [-q|--quiet] [-m|--maintmode] [-p|--purge] [ configuration ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This manual page documents briefly the a2enconf and a2disconf commands.\n\na2enconf is a script that enables the specified configuration file within the apache2 config‐\nuration.  It does this by  creating  symlinks  within  /etc/apache2/conf-enabled.   Likewise,\na2disconf  disables  a  specific configuration part by removing those symlinks.  It is not an\nerror to enable a configuration which is already enabled, or to disable one which is  already\ndisabled.\n\nNote  that  many configuration file may have a dependency to specific modules.  Unlike module\ndependencies, these are not resolved automatically. Configuration  fragments  stored  in  the\nconf-available  directory  are  considered non-essential or being installed and manged by re‐\nverse dependencies (e.g. web scripts).\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-q, --quiet",
                        "content": "Don't show informative messages.\n",
                        "flag": "-q",
                        "long": "--quiet"
                    },
                    {
                        "name": "-m, --maintmode",
                        "content": "Enables the maintainer mode, that is the program invocation is  effectuated  automati‐\ncally by a maintainer script. This switch should not be used by end users.\n",
                        "flag": "-m",
                        "long": "--maintmode"
                    },
                    {
                        "name": "-p, --purge",
                        "content": "When  disabling  a  module,  purge all traces of the module in the internal state data\nbase.\n",
                        "flag": "-p",
                        "long": "--purge"
                    }
                ]
            },
            "EXIT STATUS": {
                "content": "a2enconf and a2disconf exit with status 0 if all configurations are processed successfully, 1\nif errors occur, 2 if an invalid option was used.\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "a2enconf security\na2disconf charset\n\nEnables  Apache  security directives stored in the security configuration files, and disables\nthe charset configuration.\n",
                "subsections": []
            },
            "FILES": {
                "content": "",
                "subsections": [
                    {
                        "name": "/etc/apache2/conf-available",
                        "content": "Directory with files giving information on available configuration files.\n"
                    },
                    {
                        "name": "/etc/apache2/conf-enabled",
                        "content": "Directory with links to the files in conf-available for enabled configuration files.\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "apache2ctl(8), a2enmod(8), a2dismod(8), a2ensite(8), a2dissite(8).\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "This manual page was written by Arno Toell <debian@toell.net> for the Debian  GNU/Linux  dis‐\ntribution, as it is a Debian-specific script with the package.\n\n\n\n14 February 2012                               A2ENCONF(8)",
                "subsections": []
            }
        }
    }
}