diff options
author | mh <mh@immerda.ch> | 2011-10-13 00:34:59 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-10-13 00:34:59 +0200 |
commit | 3e0081dd3cd8754454ccf1ee616a88d357952052 (patch) | |
tree | 6cea67f630920f1e1082f6aa19ec920a36731227 /manifests/vhost/php | |
parent | 15505ed10296e48c1f023791c073c320d094ae12 (diff) |
if we run as fcgid, we need to tell safe_mode that gid is fine
Diffstat (limited to 'manifests/vhost/php')
-rw-r--r-- | manifests/vhost/php/standard.pp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/vhost/php/standard.pp b/manifests/vhost/php/standard.pp index 0a92057..aea4551 100644 --- a/manifests/vhost/php/standard.pp +++ b/manifests/vhost/php/standard.pp @@ -127,6 +127,9 @@ define apache::vhost::php::standard( if $logmode != 'nologs' { $std_php_settings[error_log] = "${logdir}/php_error_log" } + if $run_mode == 'fcgid' { + $std_php_settings[safe_mode_gid] = 'On' + } if has_key($php_settings,'safe_mode_exec_dir') { $php_safe_mode_exec_dir = $php_settings[safe_mode_exec_dir] |