diff options
author | mh <mh@immerda.ch> | 2008-12-01 23:10:41 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-12-01 23:10:41 +0000 |
commit | b582c48c88511938dbfc0940fd95a8738d1b6ae3 (patch) | |
tree | 17af97d058c2633a8cd847488b52ad46f6aeafc8 /templates | |
parent | 6961426625a495b26066f90a786480a0b2233259 (diff) |
added run_mode for running vhosts with the itk module
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vhosts/perl/CentOS.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/vhosts/perl/CentOS.erb b/templates/vhosts/perl/CentOS.erb index 9c9e1f7..2dce115 100644 --- a/templates/vhosts/perl/CentOS.erb +++ b/templates/vhosts/perl/CentOS.erb @@ -10,6 +10,11 @@ ErrorLog <%= logdir %>/error_log CustomLog <%= logdir %>/access_log combined + <%- if run_mode.to_s == 'itk' -%> + <IfModule mpm_itk_module> + AssignUserId <%= run_uid+" "+run_gid %> + </IfModule> + <%- end -%> <Directory "<%= documentroot %>/"> AllowOverride <%= allow_override %> <%- unless options.to_s == 'absent' then -%> |