summaryrefslogtreecommitdiff
path: root/templates/vhosts/php/CentOS.erb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-12-18 09:35:43 +0000
committermh <mh@immerda.ch>2008-12-18 09:35:43 +0000
commit9143d4afe86a0118088f068aa177550561f7d60d (patch)
treee3ee562633e699a2fe57c44b5cb447b29931cff8 /templates/vhosts/php/CentOS.erb
parent60a018a310ec5a1d6aefec9f25d3483488e2042e (diff)
do mod_itk as well on https
Diffstat (limited to 'templates/vhosts/php/CentOS.erb')
-rw-r--r--templates/vhosts/php/CentOS.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/vhosts/php/CentOS.erb b/templates/vhosts/php/CentOS.erb
index 28a8271..e3dc7fa 100644
--- a/templates/vhosts/php/CentOS.erb
+++ b/templates/vhosts/php/CentOS.erb
@@ -63,6 +63,14 @@
ErrorLog <%= logdir %>/error_log
CustomLog <%= logdir %>/access_log combined
+ <%- if default_charset.to_s != 'absent' then -%>
+ AddDefaultCharset <%= default_charset %>
+ <%- end -%>
+ <%- if run_mode.to_s == 'itk' -%>
+ <IfModule mpm_itk_module>
+ AssignUserId <%= run_uid+" "+run_gid %>
+ </IfModule>
+ <%- end -%>
<%- if ssl_mode.to_s == 'force' then -%>
Redirect permanent / https://<%= servername %>/
<%- end -%>