diff options
Diffstat (limited to 'templates/vhosts/default.erb')
-rw-r--r-- | templates/vhosts/default.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/vhosts/default.erb b/templates/vhosts/default.erb index 5ab1d26..02dcb5b 100644 --- a/templates/vhosts/default.erb +++ b/templates/vhosts/default.erb @@ -19,6 +19,16 @@ vhost_parts.each do |vhost_part| AssignUserId <%= run_uid+" "+run_gid %> </IfModule> + <% elsif run_mod.to_s == 'fcgid' -%> + <IfModule mod_fcgid.c> + SuexecUserGroup <%= run_uid+" "+run_gid %> + <% if passing_extension.to_s == 'php' -%> + PHP_Fix_Pathinfo_Enable 1 + <% end -%> + FCGIWrapper /var/www/mod_fcgid-starters/<%= name %> .<%= passing_extension %> + AddHandler fcgid-script .<%= passing_extension %> + </IfModule> + <% end -%> <% if ssl_mode == 'force' && vhost_part == :normal -%> RewriteEngine On |