Hi,
according to Zentyal documentation and my findings, the vhost configuration can be found in
/etc/apache2/sites-available/
for each vhost
When aktived a softlink to this file is placed in
/etc/apache2/sites-enabled
The config files contains one ore two lines (ssl and non ssl) defining the DocumentRoot of the vhost. It is simply the vhost name as defined in the administrative interface. Also there is a Include statement referencing a user configuratioon directory, see documentation:
The DocumentRoot or root directory for each page is in the /srv/www/<domain>/ directory. In addition, it is possible to apply a customised Apache configuration to each Virtual host by adding a file to the /etc/apache2/sites-available/user-ebox-<domain>/ directory.
,
The config file is concolled by the administrative interface by mysql and the respective mas file as a template, so I can not change it as any change will be revoked earlier or later.
Question:
Does an DocumentRoot statement in a config file "B" called from another config file "A" overrule the DocumentRule already defined in config file "A"?
If so, a chenge of Document root is quite easy, but how do I proceed if not? Brute force will be to remove the DocumentRoot statement from the master and to add config files manually for each vhost .... No, thats not nice ...
Any help appreciated
THX
Thorsten