This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

vHost file auto changed after a period ???
#15
RE: vHost file auto changed after a period ???
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:
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
Reply
Thanks given by:


Messages In This Thread
RE: vHost file auto changed after a period ??? - by 7rdoq - 10-05-2016, 11:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
How to set up File Manger for Sentora? donaldaugust 1 3 ,784 01-11-2022, 05:01 AM
Last Post: Nigel
Site Not Updating changes made in The HTML file me7leelee 4 9 ,198 05-20-2020, 06:29 PM
Last Post: 5050
How to give the cliens file manager access to their respective domain directory vsvinit0 4 10 ,440 10-09-2019, 10:05 PM
Last Post: vsvinit0

Forum Jump:


Users browsing this thread: 2 Guest(s)