mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 11:19:14 +02:00
29 lines
598 B
PHP
29 lines
598 B
PHP
<?php
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
namespace Icinga\Web\Setup\Webserver;
|
|
|
|
/**
|
|
* Generate apache 2.x (< 2.4) configuration
|
|
*/
|
|
class Apache2 extends Webserver
|
|
{
|
|
/**
|
|
* @return array
|
|
*/
|
|
protected function getTemplate()
|
|
{
|
|
return array(
|
|
'Alias {webPath} {publicPath}',
|
|
'<directory {publicPath}>',
|
|
' Options -Indexes',
|
|
' AllowOverride All',
|
|
' Order allow,deny',
|
|
' Allow from all',
|
|
' EnableSendfile Off',
|
|
'</directory>'
|
|
);
|
|
}
|
|
}
|