On Fri, 2025-03-07 at 14:29 -0800, Van Snyder wrote: > On Fri, 2025-03-07 at 20:44 +0100, to...@tuxteam.de wrote: > > Somewhere there should be a DocumentRoot which you might want to > > adjust accordingly. > > There is no DocumentRoot setting in the /etc/apache2/apache2.conf on > either machine. One works, the other doesn't. > > On both machines, ServerRoot is commented out.
The DocumentRoot setting is, "conveniently" not in /etc/apache2/apache2.conf. Instead, it's "conveniently" in /etc/apache2/a/etc/apache2/sites-available/000-default.conf — apparently so that different ports, say 80 and 8080, can look at different file systems. Changing DocumentRoot there from /var/www to /opt/www makes my server work.