Personal tools

Talk:Gallery2:Modules:webdav:devel

From Gallery Codex

Contents

Feedback from using webdav with the Windows WebDAV client (network resource in Windows Explorer)

Author: --Valiant 20:44, 20 December 2006 (PST)

  • Adding and deleting whole folder trees works, that's very cool!
  • Renaming works, also cool

Bugs

  • Couldn't rename a file to a name with umlauts (e.g. รค)
  • Couldn't upload a folder with @ in the folder name
  • Usability: When renaming a folder/file, only its pathComponent is changed, not it's title. Not sure if this will be clear and intended.
  • After adding the network resource, I couldn't add images, it just showed an error. The reason is that I was not authenticated yet. I had to right-click and choose New -> Folder which then triggered an authentication popup. From then on onwards I could do everything. No idea how to approach this, probably just with docs.

Windows native client issue

Test Setup:

  • Windows Server: Windows XP all patches, Apache 2.0, mod_php 5.2, webdav/httpauth admin tests show green
  • Windows Client: Windows XP all patches, other machine on same LAN
  • Linux Server: Gentoo Linux 2.6 kernel, Apache 2.0, mod_php 5, webdav/httpauth admin tests show green

I'm always deleting all sessions on the server (SessionMap) before starting a new test.

Success - Using www.bitkinex.com as client

Windows Client to Windows Server

  1. First connect: http://dev.nei.ch/commercial_dav_client_vs_apache_windows_server_initial_connect_and_browsing.dump
  2. Same session, then upload a file: http://dev.nei.ch/windows_commercial_client_to_apache_windows_server_successful_file_upload.dump

Success - Windows native DAV client to Linux Server

Windows native DAV client to Linux Server

http://dev.nei.ch/windows_client_to_linux_apache_server_add_resource_try_to_create_folder_auth_with_wrong_password_then_with_real_password_then_successfully_add_folder.dump

  1. Windows Explorer -> Network -> Add network resource
  2. Paste http://192.168.123.123/gallery2/w/, enter
  3. Wizard asks for label for this resource, enter -> Successfully created network resource
  4. Right-click in explorer -> new -> folder
  5. Auth-Popup is shown
  6. Entering wrong password, submit
  7. Entering correct password -> Folder is created

Failure - Windows native DAV client to Windows Server

This issue has been fixed in G2.2 RC-2

Windows native DAV client to Windows Server

http://dev.nei.ch/windows_client_to_windows_apache_server_auth_during_initial_mount_not_accepted.dump

  1. Windows Explorer -> Network -> Add network resource
  2. Paste http://192.168.123.126/gallery2/w/, enter
  3. Wizard immediately shows auth-popup (see difference to successful behavior, where it doesn't require auth at this point)
  4. Entering correct username / password -> immediate response in GUI, credentials not accepted. Also, I enter 'admin' and it shows '192.168.123.126/admin' as username when the auth popup refreshes.
Update: SUCCESS - This only seems to happen if the gallery2 folder is an apache alias. The workaround: the auth failure needs to be ignored, one can click next in the wizard. Auth works once the Webfolder has been added.

Failure - IIS Server

This issue has been fixed in G2.2 RC-2

All tests with IIS 5.1, mod_php 5.2.0, isapi_rewrite

  • IIS has its own WebDAV server which can mask our own G2 webdav server.
  • Windows Webfolders doesn't seem to play together with G2 on IIS. Maybe because PROPFIND fails? Other clients don't do a PROPFIND.
  • mkcol works, but PUT fails with 501 Not Implemented
  • Connecting to the root folder fails even with cadaver / other clients
advertisements