From e33da7cb1fdf6b4fc13a77b2e164e45b02cd7cf8 Mon Sep 17 00:00:00 2001 From: zbuse Date: Tue, 4 Feb 2014 05:48:56 +0800 Subject: [PATCH] Create suphp.tpl --- install/rhel/templates/web/httpd/suphp.tpl | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 install/rhel/templates/web/httpd/suphp.tpl diff --git a/install/rhel/templates/web/httpd/suphp.tpl b/install/rhel/templates/web/httpd/suphp.tpl new file mode 100644 index 000000000..ff0b52398 --- /dev/null +++ b/install/rhel/templates/web/httpd/suphp.tpl @@ -0,0 +1,36 @@ + + + ServerName %domain_idn% + %alias_string% + ServerAdmin %email% + DocumentRoot %docroot% + ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ + Alias /vstats/ %home%/%user%/web/%domain%/stats/ + Alias /error/ %home%/%user%/web/%domain%/document_errors/ + CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes + CustomLog /var/log/%web_system%/domains/%domain%.log combined + ErrorLog /var/log/%web_system%/domains/%domain%.error.log + + + AssignUserID %user% %group% + + + SuexecUserGroup %user% %group% + +# +# RMode config +# RUidGid %user% %group% +# RGroups apache +# + + AllowOverride All + Options +Includes -Indexes + suPHP_Engine ON + suPHP_UserGroup %user% %group% + + + AllowOverride All + + Include /usr/local/vesta/data/users/%user%/conf/web/%web_system%.%domain%.conf* + +