This is the output that I get on an updated UCS 4.2 test machine:
root@ucs-3542:~# ls -l /etc/apache2/{.,sites-*}
/etc/apache2/.:
insgesamt 92
-rw-r--r-- 1 root root 7115 Jul 20 2016 apache2.conf
drwxr-xr-x 2 root root 4096 Apr 3 11:45 conf-available
drwxr-xr-x 2 root root 4096 Apr 3 11:43 conf.d
drwxr-xr-x 2 root root 4096 Apr 3 11:45 conf-enabled
-rw-r--r-- 1 root root 1782 Jul 5 2016 envvars
-rw-r--r-- 1 root root 31063 Mai 25 2014 magic
drwxr-xr-x 2 root root 12288 Apr 3 11:43 mods-available
drwxr-xr-x 2 root root 4096 Apr 3 21:06 mods-enabled
-rw-r--r-- 1 root root 437 Apr 3 11:43 ports.conf
-rw-r--r-- 1 root root 320 Jul 5 2016 ports.conf.debian
drwxr-xr-x 2 root root 4096 Apr 3 21:06 sites-available
drwxr-xr-x 2 root root 4096 Apr 3 21:06 sites-enabled
drwxr-xr-x 2 root root 4096 Apr 3 11:47 ucs-sites.conf.d
/etc/apache2/sites-available:
insgesamt 52
-rw-r--r-- 1 root root 728 Apr 3 12:09 000-default.conf
-rw-r--r-- 1 root root 692 Dez 22 2014 000-default.conf.debian
-rw-r--r-- 1 root root 1332 Jul 5 2016 000-default.conf.dpkg-new
-rw-r--r-- 1 root root 1406 Apr 3 12:09 default-ssl.conf
-rw-r--r-- 1 root root 1360 Jan 9 15:42 default-ssl.conf.debian
-rw-r--r-- 1 root root 6437 Jul 20 2016 default-ssl.conf.dpkg-new
-rw-r--r-- 1 root root 1375 Apr 3 21:06 localhost.conf
-rw-r--r-- 1 root root 3739 Apr 3 11:47 univention.conf
-rw-r--r-- 1 root root 555 Apr 3 11:47 univention-directory-manager.conf
-rw-r--r-- 1 root root 2170 Apr 3 11:47 univention-proxy.conf
-rw-r--r-- 1 root root 1760 Apr 3 11:47 univention-saml.conf
-rw-r--r-- 1 root root 70 Mär 28 19:34 univention-self-service.conf
/etc/apache2/sites-enabled:
insgesamt 0
lrwxrwxrwx 1 root root 35 Apr 3 11:41 000-default.conf -> ../sites-available/000-default.conf
lrwxrwxrwx 1 root root 35 Apr 3 11:43 default-ssl.conf -> ../sites-available/default-ssl.conf
lrwxrwxrwx 1 root root 33 Apr 3 21:06 localhost.conf -> ../sites-available/localhost.conf
lrwxrwxrwx 1 root root 34 Apr 3 11:47 univention.conf -> ../sites-available/univention.conf
lrwxrwxrwx 1 root root 39 Apr 3 11:47 univention-saml.conf -> ../sites-available/univention-saml.conf
lrwxrwxrwx 1 root root 47 Apr 3 11:46 univention-self-service.conf -> ../sites-available/univention-self-service.conf
root@ucs-3542:~#
It seems that there have been manual changes in the old apache2.conf
file. As there have been changes to that config file, dpkg has not touched it. Instead, the new apache2.conf
file has been placed aside with the suffix .dpkg.dist
. The easiest way is to extract and move your custom configurations into an extra file below sites-available/
, rename apache2.conf.dpkg-dist
to apache2.conf
, and activate your custom configuration via
a2ensite <customConfigFile>
systemctl reload apache2
Hope that helps.