Hi All,
It’s being a week I’m trying to get webdav working on a Vhost without any success… Here is my setup:
SuexecUserGroup "#1039" "#1038"
ServerName dav.mydom.com
DocumentRoot /home/dav/public_html
ErrorLog /var/log/virtualmin/dav.mydom.com_error_log
CustomLog /var/log/virtualmin/dav.mydom.com_access_log combined
Options Indexes MultiViews
AllowOverride None
Require all granted
Alias /webdav /home/dav/public_html
Dav on
AuthType Basic
AuthBasicProvider file
AuthName "WebDav"
AuthUserFile /home/dav/public_html/.htpasswd
Require valid-user
ProxyPassMatch ^/(.*.php(/.*)?)$ fcgi://localhost:8005/home/dav/public_html/$1
RemoveHandler .php
RemoveHandler .php7.0
php_admin_value engine Off
Trying to test it with cadaver, I got the message I can’t even enter my user name and pass
[matth@www ~]# cadaver http://dav.mydom.com/webdav/
Authentication required for WebDav on server `dav.mydom.com’:
Username:
Authentication aborted!
Could not open collection:
Could not authenticate to server: rejected Basic challenge
dav:/webdav/?
I have also tested by creating a .netrc pass to authenticate automatically but i good this then:
[matth@www ~]# cadaver https://dav.mydom.com/webdav
Could not access /webdav/ (not WebDAV-enabled?):
405 Method Not Allowed
Connection to `db.ducorporation.com’ closed.
dav:!>
With suexec i’m making sure Apache is running under the proper user, also the access to any files does work from a Web browser after authentication.
Also tested
- not to use
location
butdirectory
- Disable Directory indexing
- Auth non/Digest/Basic
- Webdav folder at the route of the DocumentRoot as well as sub-folder
-Some other thing i don’t remember
Done my testing with Firefox/litmus/cadaver general working ok with FF but not with litmus/cadaver
hop I’m clear enough
Any input would be much appreciated