From c3efcc89935af43f1ebf13d4185bae3892777365 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 6 Dec 2008 12:22:45 +0000 Subject: finished sslmode config, added itk stuff to php vhost --- templates/vhosts/php/CentOS.erb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'templates/vhosts/php') diff --git a/templates/vhosts/php/CentOS.erb b/templates/vhosts/php/CentOS.erb index 3841c39..e957f07 100644 --- a/templates/vhosts/php/CentOS.erb +++ b/templates/vhosts/php/CentOS.erb @@ -16,6 +16,12 @@ <%- if default_charset.to_s != 'absent' then -%> AddDefaultCharset <%= default_charset %> <%- end -%> + <%- if run_mode.to_s == 'itk' -%> + + AssignUserId <%= run_uid+" "+run_gid %> + + <%- end -%> + <%- if (options.to_s != 'absent' or htpasswd_file.to_s != 'absent') and not ssl_mode.to_s == 'force' then -%> /"> AllowOverride <%= allow_override %> <%- if options.to_s != 'absent' or do_includes.to_s == 'true' then -%> @@ -33,6 +39,7 @@ php_admin_value upload_tmp_dir <%= php_upload_tmp_dir %> php_admin_value session.save_path <%= php_session_save_path %> + <%- end -%> SecRuleEngine <%= if mod_security.to_s == 'true' then "On" else "Off" end %> -- cgit v1.2.3