update FCGIWrapper directive to FcgidWrapper (since mod_fcgid-2.3.2), refs #1138
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -66,7 +66,7 @@ return array(
|
|||||||
'settinggroup' => 'system',
|
'settinggroup' => 'system',
|
||||||
'varname' => 'mod_fcgid_wrapper',
|
'varname' => 'mod_fcgid_wrapper',
|
||||||
'type' => 'option',
|
'type' => 'option',
|
||||||
'option_options' => array(0 => 'ScriptAlias', 1=> 'FCGIWrapper'),
|
'option_options' => array(0 => 'ScriptAlias', 1=> 'FcgidWrapper'),
|
||||||
'default' => 1,
|
'default' => 1,
|
||||||
'save_method' => 'storeSettingField',
|
'save_method' => 'storeSettingField',
|
||||||
'websrv_avail' => array('apache2')
|
'websrv_avail' => array('apache2')
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ class apache
|
|||||||
$this->virtualhosts_data[$vhosts_filename].= ' SuexecUserGroup "' . $this->settings['system']['mod_fcgid_httpuser'] . '" "' . $this->settings['system']['mod_fcgid_httpgroup'] . '"' . "\n";
|
$this->virtualhosts_data[$vhosts_filename].= ' SuexecUserGroup "' . $this->settings['system']['mod_fcgid_httpuser'] . '" "' . $this->settings['system']['mod_fcgid_httpgroup'] . '"' . "\n";
|
||||||
$this->virtualhosts_data[$vhosts_filename].= ' <Directory "' . $mypath . '">' . "\n";
|
$this->virtualhosts_data[$vhosts_filename].= ' <Directory "' . $mypath . '">' . "\n";
|
||||||
$this->virtualhosts_data[$vhosts_filename].= ' AddHandler fcgid-script .php' . "\n";
|
$this->virtualhosts_data[$vhosts_filename].= ' AddHandler fcgid-script .php' . "\n";
|
||||||
$this->virtualhosts_data[$vhosts_filename].= ' FCGIWrapper ' . $starter_filename . ' .php' . "\n";
|
$this->virtualhosts_data[$vhosts_filename].= ' FcgidWrapper ' . $starter_filename . ' .php' . "\n";
|
||||||
$this->virtualhosts_data[$vhosts_filename].= ' Options +ExecCGI' . "\n";
|
$this->virtualhosts_data[$vhosts_filename].= ' Options +ExecCGI' . "\n";
|
||||||
// >=apache-2.4 enabled?
|
// >=apache-2.4 enabled?
|
||||||
if ($this->settings['system']['apache24'] == '1') {
|
if ($this->settings['system']['apache24'] == '1') {
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ class apache_fcgid extends apache
|
|||||||
$php_options_text.= ' SetHandler fcgid-script' . "\n";
|
$php_options_text.= ' SetHandler fcgid-script' . "\n";
|
||||||
foreach($file_extensions as $file_extension)
|
foreach($file_extensions as $file_extension)
|
||||||
{
|
{
|
||||||
$php_options_text.= ' FCGIWrapper ' . $php->getInterface()->getStarterFile() . ' .' . $file_extension . "\n";
|
$php_options_text.= ' FcgidWrapper ' . $php->getInterface()->getStarterFile() . ' .' . $file_extension . "\n";
|
||||||
}
|
}
|
||||||
$php_options_text.= ' Options +ExecCGI' . "\n";
|
$php_options_text.= ' Options +ExecCGI' . "\n";
|
||||||
$php_options_text.= ' </FilesMatch>' . "\n";
|
$php_options_text.= ' </FilesMatch>' . "\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user