yes, last 4 lines is the method MySupport Addon Me.B suggested me, and after each auto written, it added to end of vhost
I want vhost below:
But after unknown period, vhost file is auto rewritten with new settings below:
How to prevent this auto task, or make this auto task with settings like I want?
thanks
I want vhost below:
Code:
<virtualhost *:80>
ServerName domain1.com
ServerAlias www.domain1.com
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/domain1_com"
</virtualhost>
<virtualhost *:80>
ServerName www.mymaindomain.com
ServerAlias *
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mymaindomain_com"
</virtualhost>
But after unknown period, vhost file is auto rewritten with new settings below:
Code:
<virtualhost *:80>
ServerName domain1.com
ServerAlias www.domain1.com
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/domain1_com"
</virtualhost>
<virtualhost *:80>
ServerName www.mymaindomain.com
ServerAlias www.mymaindomain.com
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mymaindomain_com"
</virtualhost>
How to prevent this auto task, or make this auto task with settings like I want?
thanks