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.