Webdav connectivity problems 405 Method Not Allowed

Operating system	CentOS Linux 7.7.1908
Webmin version	1.942 	
Usermin version	1.791
Virtualmin version	6.09	
Authentic theme version	19.46 
Kernel and CPU	Linux 3.10.0-1062.18.1.el7.x86_64 on x86_64

I have been trying to enable webdav in my virtualmin server. This is enabled in most of my virtual domains.

I can see that virtualmin has configured a default domain.ca/dav as this is what I have in this particular domain

RewriteEngine on
Alias /dav /home/domain/public_html
<Location /dav>
DAV on
AuthType Basic
AuthName "domain.ca"
AuthUserFile /home/domain/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
RemoveHandler .php
RemoveHandler .php5
RewriteEngine off
</Location>

When I try connecting via https://domain.ca/dav I do get the prompt for usernamd and password. When I entered my auth it simply shows me my index.php file in plain text, so PHP not executed like this:

<?php
require_once('header.php');
require_once('body.php');
require_once('footer.php');
?>

This should simply show me a browsing directory?

I then tried connecting using cardaver:

cadaver https://domain.ca/dav

With the proper auth and this is the result:

Authentication required for domain.ca on server `domain.ca':
Username:  username
Password: 
Could not access /dav/ (not WebDAV-enabled?):
405 Method Not Allowed
Connection to `domain.ca' closed.

I have searched the net and this configuration seems fine and I cannot find anything different. I get the same behavior from another virtual domain I have tried.

I have another local virtualmin installed VM and this same exact behavior as well.

I came across one thread on ubuntu forum close to mine that seemed to have been related to lets encrypt, which is what my live VM is using ( but not my local VM ). my httpd.conf file has both and webdav are setup like above example.

Does anyone have any idea what is goign on?

I am also going to paste a copy of my full <VirtualHost *> in case there would be something in here conflicting I don’t know of. I’ve replaced my domain name to domain.ca

<VirtualHost x.x.x.x:443 >
#Header always set Access-Control-Allow-Origin "*"
ServerName domain.ca
ServerAlias www.domain.ca
ServerAlias webmail.domain.ca
ServerAlias admin.domain.ca
DocumentRoot /home/domain/public_html
ErrorLog /var/log/virtualmin/domain.ca_error_log
CustomLog /var/log/virtualmin/domain.ca_access_log combined
ScriptAlias /cgi-bin/ /home/domain/cgi-bin/
ScriptAlias /awstats/ /home/domain/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/domain/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddType application/x-httpd-php .php
Require all granted
AddHandler fcgid-script .php
AddHandler fcgid-script .php5.6
AddHandler fcgid-script .php7.3
FCGIWrapper /home/domain/fcgi-bin/php5.6.fcgi .php
FCGIWrapper /home/domain/fcgi-bin/php5.6.fcgi .php5.6
FCGIWrapper /home/domain/fcgi-bin/php7.3.fcgi .php7.3
</Directory>
<Directory /home/domain/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
</Directory>
RewriteEngine on
Alias /dav /home/domain/public_html
<Location /dav>
DAV on
AuthType Basic
AuthName "domain.ca"
AuthUserFile /home/domain/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
RemoveHandler .php
RemoveHandler .php5
RewriteEngine off
</Location>
<Files awstats.pl>
AuthName "domain.ca statistics"
AuthType Basic
AuthUserFile /home/domain/.awstats-htpasswd
require valid-user
</Files>
php_value memory_limit 32M
php_value suhosin.session.encrypt Off
Include /etc/letsencrypt/options-ssl-apache.conf
SuexecUserGroup "#1004" "#1002"

        # BOSH endpoint proxy START
        <IfModule mod_proxy.c>
                <IfModule mod_proxy_http.c>
                        ProxyRequests Off
                        ProxyPass /http-bind http://localhost:5280/http-bind/
                        ProxyPassReverse /http-bind http://localhost:5280/http-bind/
                </IfModule>
        </IfModule>

SSLCertificateFile /etc/letsencrypt/live/domain.ca/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/domain.ca/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/domain.ca/chain.pem
RemoveHandler .php
RemoveHandler .php5.6
RemoveHandler .php7.3
php_admin_value engine Off
IPCCommTimeout 41
FcgidMaxRequestLen 1073741824

</VirtualHost>