summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_simplemachine
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/php_simplemachine')
-rw-r--r--templates/vhosts/php_simplemachine/CentOS.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/vhosts/php_simplemachine/CentOS.erb b/templates/vhosts/php_simplemachine/CentOS.erb
index d4a4b08..4f8eb57 100644
--- a/templates/vhosts/php_simplemachine/CentOS.erb
+++ b/templates/vhosts/php_simplemachine/CentOS.erb
@@ -6,7 +6,7 @@
<%- unless serveralias.to_s.empty? then -%>
ServerAlias <%= serveralias %>
<%- end -%>
- <%- unless server_admin.to_s.empty? then -%>
+ <%- unless server_admin.to_s.empty? or server_admin.to_s == 'absent' then -%>
ServerAdmin <%= server_admin %>
<%- end -%>
DocumentRoot <%= documentroot %>/
@@ -70,6 +70,9 @@
<%- unless serveralias.to_s.empty? then -%>
ServerAlias <%= serveralias %>
<%- end -%>
+ <%- unless server_admin.to_s.empty? or server_admin.to_s == 'absent' then -%>
+ ServerAdmin <%= server_admin %>
+ <%- end -%>
DocumentRoot <%= documentroot %>/
ErrorLog <%= logdir %>/error_log