[% USE Whostmgr -%] [%- # The build-tools/extract-go-links tool requires full URLs to # properly extract go links. Using explicit links also ensures we # never have a go link that doesn't redirect. IF data.apache_version == '2_2'; SET RlimitMEM = 'https://go.cpanel.net/apache2_2_rlimitmem'; ELSE; SET RlimitMEM = 'https://go.cpanel.net/apache2_4_rlimitmem'; END; -%] [%# TODO: Remove extra styles when we update bootstrap %] [% WRAPPER 'master_templates/master.tmpl' theme = 'bootstrap', app_key = 'apache_configuration' extrastyle=' /* START - Bootstrap styles that need to be deleted after update */ .media { margin-top: 15px; } .media:first-child { margin-top: 0; } .media, .media-body { zoom: 1; overflow: hidden; } .media-body { width: 10000px; } .media-object { display: block; } .media-object.img-thumbnail { max-width: none; } .media-right, .media > .pull-right { padding-left: 10px; } .media-left, .media > .pull-left { padding-right: 10px; } .media-left, .media-right, .media-body { display: table-cell; vertical-align: top; } .media-middle { vertical-align: middle; } .media-bottom { vertical-align: bottom; } .media-heading { margin-top: 0; margin-bottom: 5px; } .media-list { padding-left: 0; list-style: none; } /* END - Bootstrap styles that need to be deleted after update */ /* page specific custom style */ .apache-config-item { border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 20px; } ' %] [% PROCESS _local_template_warning_message.tmpl %]

[% locale.maketext("Global Configuration") %]

[% locale.maketext("Here you can configure some common directives in [asis,httpd.conf]’s main context.") %]

[% IF !data.is_ea4 %]

[% locale.maketext("[asis,PHP] and [asis,suEXEC] Configuration") %]

[% locale.maketext("This tool allows you to configure the Apache PHP Handler, the default PHP version, and [asis,suEXEC] support.") %]

[% END %]

[% locale.maketext("[asis,DirectoryIndex] Priority") %]

[% locale.maketext("The [asis,DirectoryIndex] directive in [asis,Apache] specifies which filenames will serve as the directory index page and their priority when more than one matching filename exists. This interface allows the priority order to be specified and allows for the addition of new filenames.") %]

[% locale.maketext("Include Editor") %]

[% locale.maketext("The [asis,Apache] configuration system is designed to handle the vast majority of configurations. In some cases additional configuration directives are required to allow the [asis,Apache httpd] server function as desired. The [asis,cPanel Apache] configuration system uses [asis,Include] directives to provide hooks in strategic points in order to allow these configurations. These files allow new functionality to be introduced, and are included with the normal [asis,Apache] configuration. Additionally, you can override or disable some default configuration directives completely.") %]

[% locale.maketext("Reserved IP Address Editor") %]

[% locale.maketext("By default, [asis,Apache] is configured to listen on all available IP addresses. [asis,Apache] can be configured to only respond on specific IP addresses. This editor provides an interface to specify the [asis,Apache] IP address restrictions.") %]

[% locale.maketext("Memory Usage Restrictions") %]

[% locale.maketext("This tool calculates and sets new [asis,Apache] memory limits. You can update your Apache configuration with the new limits. See [output,url,_1,RLimitMEM,target,_blank] documentation for more information.", RlimitMEM) %]

[% locale.maketext("Log Rotation") %]

[% locale.maketext("Manage which Apache log files are rotated.") %]

[% locale.maketext("Piped Log Configuration") %]

[% locale.maketext("Configure [asis,Apache] to use a single log target for all virtual host access and bandwidth logs. The combined logs will be piped to a helper application where they can be split based upon domain. This option will reduce the number of log files [asis,Apache] manages, which will free system resources. Piped logging is recommended for systems with a large number of domains. This feature defaults to enabled. If you disable this feature, [asis,Apache] will create distinct log files for each virtual host entry.") %]

[% END %]