Hello,
I'm having some kind of a configuration problem. There's a web administration thing managing my apache server and whenever I change something on the web panel the Apache config gets overwritten. Unfortunately I have some manual changes that get 'deleted' every time I do something on the web panel cause the whole thing gets rewritten.
Is there any possibility to kind of overwrite the settings using another file that doesn't get rewritten all the time?
Example:
<VirtualHost XX.XX.XX.XX:80>
...
DocumentRoot /var/www/htdocs
...
</Virtual>
needs to be
<VirtualHost XX.XX.XX.XX:80>
...
DocumentRoot /var/www/htdocs/public
...
</Virtual>
So whenever I do something on the web panel I have to change it by hand again. Is it for example possible to let apache load my main.conf and additional (and after loading main.conf) a second one like z.conf so
<VirtualHost XX.XX.XX.XX:80>
...
DocumentRoot /var/www/htdocs
...
</Virtual>
in the main.conf gets overwritten by
<VirtualHost XX.XX.XX.XX:80>
...
DocumentRoot /var/www/htdocs/public
...
</Virtual>
by the z.conf?
Hope you guy are getting my point. Thanks!