Difference between revisions of "Owncloud"

From Alessandro's Wiki
(Created page with " = Testing = srv:# cadaver https://example.com/cloud/remote.php/webdav/ Authentication required for ownCloud on server `example.com': Username: abcd Password: dav:/cl...")
 
Line 4: Line 4:
= Testing =
= Testing =


== DAV ==
  srv:# cadaver https://example.com/cloud/remote.php/webdav/
  srv:# cadaver https://example.com/cloud/remote.php/webdav/


Line 11: Line 12:
  dav:/cloud/remote.php/webdav/> ls
  dav:/cloud/remote.php/webdav/> ls
  ...
  ...
* fix the DAV client connection problem with php-fpm
OPTIONS /index.php/login HTTP/1.1" 405
owncloud PROPFIND /remote.php/webdav/ HTTP/1.1" 401
* setting the following in the VH solved the problem
  <IfModule setenvif_module>
    SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
  </IfModule>

Revision as of 06:26, 13 October 2020


Testing

DAV

srv:# cadaver https://example.com/cloud/remote.php/webdav/
Authentication required for ownCloud on server `example.com':
Username: abcd
Password:
dav:/cloud/remote.php/webdav/> ls
...
  • fix the DAV client connection problem with php-fpm
OPTIONS /index.php/login HTTP/1.1" 405
owncloud PROPFIND /remote.php/webdav/ HTTP/1.1" 401
  • setting the following in the VH solved the problem
 <IfModule setenvif_module>
   SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
 </IfModule>