Dear,
I am in the process of migrating from Nextcloud V23 to Seafile 9.0.6 community version on Devuan Linux (a Debian fork) with an Apache proxy in front.
Currently I am failing to setup WebDAV.
My seafdav.conf:
[WEBDAV]
enabled = true
port = 8080
share_name = /
workers = 5
timeout = 3600
My Apache “000-default-le-ssl.conf” (Let’s Encrypt HTTPS):
#
# seafile fileserver
#
ProxyPass /seafhttp http://127.0.0.1:8082
ProxyPassReverse /seafhttp http://127.0.0.1:8082
RewriteRule ^/seafhttp - [QSA,L]
#
# seahub
#
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8000/
ProxyPassReverse / http://127.0.0.1:8000/
#
# WebDAV
#
<Location "/seafdav">
RequestHeader edit Destination ^https: http:
ProxyPass http://127.0.0.1:8080/seafdav
ProxyPassReverse http://127.0.0.1:8080/seafdav
</Location>
And the logfile looks like
2022-08-05 21:47:31.442 - <140439206217472> wsgidav.wsgidav_app INFO : 127.0.0.1 - (anonymous) - [2022-08-05 19:47:31] "OPTIONS /seafdav/App-Backups" length=0, elap=0.000sec -> 401 Not Authorized
2022-08-05 21:47:45.803 - <140439206217472> wsgidav.wsgidav_app INFO : 127.0.0.1 - (anonymous) - [2022-08-05 19:47:45] "OPTIONS /seafdav/App-Backups" length=0, elap=0.000sec -> 401 Not Authorized
2022-08-05 21:47:45.841 - <140439206217472> wsgidav.wsgidav_app INFO : 127.0.0.1 - user@domain.de - [2022-08-05 19:47:45] "OPTIONS /seafdav/App-Backups" length=0, elap=0.028sec -> 404 Not Found
I am connecting to http:// and/or https://domain.de/seafdav/App-Backups and do get an authentication request. The user and password is the same as through the working webfrontend.
What did I wrong?
Thanks, -MN