Debian 11 + beta install: Apache won't start. mod_dav not enabled

SYSTEM INFORMATION
OS type and version Debian11
Webmin version 1.994
Virtualmin version 7.1-1
Related packages mod_dav

Testing the beta install on Debian 11.

When enabling git for a domain or importing a domain with git, apache2 won’t start.

Jul 12 12:02:54 cloud11.website.com apachectl[11746]: AH00526: Syntax error on line 46 of /etc/apache2/sites-enabled/website.com.conf:
Jul 12 12:02:54 cloud11.website.com apachectl[11746]: Invalid command 'DAV', perhaps misspelled or defined by a module not included in the se>
Jul 12 12:02:54 cloud11.website.com apachectl[11743]: Action 'start' failed.
Jul 12 12:02:54 cloud11.website.com apachectl[11743]: The Apache error log may have more information.
Jul 12 12:02:54 cloud11.website.com systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE

The line in the apache conf file is:
DAV on

I noticed that the mod_dav and mod_dav_fs were not enabled by default. Enabling these fixed the problem.

I read somewhere else that DAV is no longer supported in the latest virtualmin releases. If that is the case then gitweb will also no longer work. As gitweb works through DAV it probably is what causes the DAV lines in the apache configuration files , which cause the apach2 startup to fail.

I guess git should only be supported through ssh.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.