summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-10-09 14:45:46 +0200
committermh <mh@immerda.ch>2011-10-09 14:45:46 +0200
commit70b4688cc6e9915b39d6c7326a100ec38d6affd2 (patch)
tree163500e3bcf896f9f4426fa56a2b0bc61172da53 /templates
parent7de7f1e01766acf0105be8854653f39babd46c12 (diff)
no need to configure fcgid on redirect hosts
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/default.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vhosts/default.erb b/templates/vhosts/default.erb
index fdc9aee..9342d06 100644
--- a/templates/vhosts/default.erb
+++ b/templates/vhosts/default.erb
@@ -19,7 +19,7 @@ vhost_parts.each do |vhost_part|
AssignUserId <%= run_uid+" "+run_gid %>
</IfModule>
- <% elsif run_mode.to_s == 'fcgid' -%>
+ <% elsif run_mode.to_s == 'fcgid' && !(ssl_mode == 'force' && vhost_part == :normal) -%>
<IfModule mod_fcgid.c>
SuexecUserGroup <%= run_uid+" "+run_gid %>
FcgidMaxRequestsPerProcess 5000