Valid for versions 82 through the latest version
Last modified: May 13, 2020
This interface allows you to add other configuration files to your Apache configuration file (
httpd.conf) through Apache’s
Include directive. When you add other configuration files to existing configuration files, the system introduces new functionality.
Edit the Apache configuration file
To add content to your Apache configuration file, perform the following steps:
- Select one of the following options:
- Pre Main Include — Inserts your content at the beginning of the
httpd.conffile before the main configuration section. Use this option if you do not wish to overwrite any part of the
- Pre VirtualHost Include — Inserts your content in the
httpd.conffile before the first VirtualHost entry. Use this option to modify only a part of the
httpd.conffile before the system configures virtual hosts.
- Post VirtualHost Include — Inserts your content in the
httpd.conffile after the last VirtualHost entry. Use this option to permanently modify a piece of the
- Use the Select an Apache Version menu to select whether you wish to apply your
Includecontent to all versions of Apache, or only to your current version.
- Select the appropriate version number for the system to overwrite your
Includecontent when Apache updates.Note:Use this option if you are unsure whether a future version of Apache will support your Include content.
- Select All Versions — Your
Includecontent will apply to all of the future versions of Apache.
- After you select a version, a text box will appear. Enter your
Includecontent in the available text box and click Update.
- If you specify a directory in your
Includecontent, the systems scan the directory. If the scan finds any configuration files, the system includes that directory in the affected files. For example, if you enter
Include /etc/example/in the text box, the system includes those specific files in the directory.
- Click Update.