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 ???
#19
RE: vHost file auto changed after a period ???
yes, this last suggestion is method I'm using, like previous post (MySupport Addon) you suggested

but this is not resolved, after each rewrite task, it rewrites 2 virtualhost entries for the same domain, like post #15 I mentioned  Sad Huh, it's rewritten like below:
Code:
<virtualhost *:80>
ServerName mymaindomain.com
ServerAlias  www.mymaindomain.com
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mymaindomain_com"
</virtualhost>

<virtualhost *:80>
ServerName mymaindomain.com
ServerAlias  *
</virtualhost>

So there's any CentOS solution / batch script to edit vhost file after it rewrites?
Reply
Thanks given by:


Messages In This Thread
RE: vHost file auto changed after a period ??? - by 7rdoq - 10-08-2016, 07:19 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)