• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

WebDAV error

T

theboblet

Guest
When restarting Apache2 after creating a vhost.conf directive for WebDAV, I get the following error:

Syntax error on line 16 of /var/www/vhosts/domainname/conf/vhost.conf:
Invalid command 'DAV', perhaps mis-spelled or defined by a module not included in the server configuration
websrvmng: Service /etc/init.d/apache2 failed to reload
websrvmng: Service /etc/init.d/apache2 failed to reload

The Directive I used was:
<Directory /var/www/vhosts/DOMAIN/httpdocs/DIRECTORY>
DAV On
allow from all
</Directory>

(I know that provides no security - just a test)

I've searched these forums and elsewhere, but it seems as though this ought to just work. I don't have any additional directives in the global php.ini. The vhost.conf has other directives, but none relating to DAV.
 
Back
Top