cPanel
		
	
	
Include Editor
Valid for versions 82 through the latest version
Version:
82
Overview
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.
Warning:
        Any changes that you make to the httpd.conf file can affect the default Apache configurations globally or between virtual hosts.
    
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 thehttpd.conffile.
- Pre VirtualHost Include — Inserts your content in the httpd.conffile before the first VirtualHost entry. Use this option to modify only a part of thehttpd.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 thehttpd.conffile.
 
- Pre Main Include — Inserts your content at the beginning 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.
 
- Select the appropriate version number for the system to overwrite your 
- 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 enterInclude /etc/example.conforInclude /etc/example/in the text box, the system includes those specific files in the directory.
 
- If you specify a directory in your 
- Click Update.
