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 , it's rewritten like below:
So there's any CentOS solution / batch script to edit vhost file after it rewrites?
but this is not resolved, after each rewrite task, it rewrites 2 virtualhost entries for the same domain, like post #15 I mentioned , 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?