You are here

function _hosting_httpd_conf_requirements in Hosting 5

File

web_server/hosting_web_server.module, line 65
Web server node type is defined here.

Code

function _hosting_httpd_conf_requirements() {
  $vhost_path = HOSTING_DEFAULT_VHOST_PATH;
  $vhost_line = <<<EOF
    Include {<span class="php-variable">$vhost_path</span>}
EOF;
  $help['title'] = t('Modify the server\'s httpd.conf file');
  $help['summary'] = t('To allow the system to load additional virtual hosts that are generated,
                        you are required to add a line to your httpd.conf file.</p>
                        The location of this file differs between distributions,
                        but is most commonly found in <code>/etc/httpd</code> or <code>/etc/apache</code>.');
  $help['configuration'] = t('Once you have determined the location of your httpd.conf file, add the following line to it:
                            <pre>@vhost_line</pre>', array(
    '@vhost_line' => $vhost_line,
  ));
  return $help;
}