Added checks for domain variable in apache module
This commit is contained in:
parent
45b597c29c
commit
dddba9202f
3 changed files with 6 additions and 0 deletions
|
@ -1,9 +1,11 @@
|
|||
<% if has_variable?("domain") -%>
|
||||
#
|
||||
# ServerAdmin: Your address, where problems with the server should be
|
||||
# e-mailed. This address appears on some server-generated pages, such
|
||||
# as error documents. e.g. admin@your-domain.com
|
||||
#
|
||||
ServerAdmin adm@<%= domain %>
|
||||
<% end -%>
|
||||
|
||||
#
|
||||
# ServerName gives the name and port that the server uses to identify itself.
|
||||
|
|
|
@ -245,12 +245,14 @@ Group <%= httpd_group %>
|
|||
# virtual host being defined.
|
||||
#
|
||||
|
||||
<% if has_variable?("domain") -%>
|
||||
#
|
||||
# ServerAdmin: Your address, where problems with the server should be
|
||||
# e-mailed. This address appears on some server-generated pages, such
|
||||
# as error documents. e.g. admin@your-domain.com
|
||||
#
|
||||
ServerAdmin adm@<%= domain %>
|
||||
<% end -%>
|
||||
|
||||
#
|
||||
# ServerName gives the name and port that the server uses to identify itself.
|
||||
|
|
|
@ -245,12 +245,14 @@ Group <%= httpsd_group %>
|
|||
# virtual host being defined.
|
||||
#
|
||||
|
||||
<% if has_variable?("domain") -%>
|
||||
#
|
||||
# ServerAdmin: Your address, where problems with the server should be
|
||||
# e-mailed. This address appears on some server-generated pages, such
|
||||
# as error documents. e.g. admin@your-domain.com
|
||||
#
|
||||
ServerAdmin adm@<%= domain %>
|
||||
<% end -%>
|
||||
|
||||
#
|
||||
# ServerName gives the name and port that the server uses to identify itself.
|
||||
|
|
Loading…
Add table
Reference in a new issue