Page 1 of 1
Separate Virtual Host
Posted: Sat Oct 08, 2016 10:26 pm
by indteam
Hi
If can separate config virtual host every domain, easy for user editing.
Eg:
serveeping.com => serveeping.com.conf
thedom.com => thedom.com.conf
Re: Separate Virtual Host
Posted: Sun Oct 09, 2016 12:18 am
by ScIT
User should not edit this file manualy, as default they also hav'nt the permission to do it. Because after every user rebuild (v-user-rebuild or "Rebuild/Rebuild Web" in Webinterface), the config file will be overwritten with the new generated files.
Question: Why should a user modify this config file? A wrong modification can screw up your nginx or apache2 service and all websites would be down.
Re: Separate Virtual Host
Posted: Sun Oct 09, 2016 5:25 am
by mehargags
... and also bear in mind that if there is a syntax error in the config, it will crash the whole Apache/Nginx webserver and the "admin" would be going nuts who crashed it.
Downvoting this thread altogether... not at all needed.