webdav.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <div class="ui message maconly" style="display:none; margin-top: 0;">
  2. <h4><i class="apple icon"></i> Login Method for MacOS</h4>
  3. <p>If you are using MacOS, you can select "Connect to Network Server", enter the endpoint of the arozos WebDAV service (<span class="protocol"></span>//<span class="hostname"></span>:<span class="port"></span>/webdav/{vroot_name}) and login with your arozos username and password.</p>
  4. </div>
  5. <div class="ui blue message windowonly nontls" style="display:none; margin-top: 0;">
  6. <h4><i class="windows icon"></i> Login Method for Windows (Non SSL / TLS Mode)</h4>
  7. <p>If you are using Windows File Explorer as your WebDAV Client without TLS enabled on arozos server, <b>WebDAV will run in compatibility mode and Basic Auth is not usable. You must authenticate through this Web UI. </b> Please follow the steps below to authenticate your Windows WebDAV Client.</p>
  8. <ol class="ui list">
  9. <li>Mount the WebDAV endpoint in your File Explorer (Endpoint: <span class="protocol"></span>//<span class="hostname"></span>:<span class="port"></span>/webdav/{vroot_name})</li>
  10. <li>Connect with no username and password</li>
  11. <li>You will be directed to a READONLY directory. Refresh this page and see if there is a new client pop up in the "Access Pending Clients" list.</li>
  12. <li>Click "Allow Access" to assign your user storage pool to be accessiable by this Windows WebDAV Client(s). (Sometime more than 1 conncetions will be used by the same File Explorer)</li>
  13. <li>Refresh your file list in File Explorer and your root folder (user:/) should be listed</li>
  14. </ol>
  15. </div>
  16. <div class="ui blue message windowonly tls" style="display:none">
  17. <h4><i class="windows icon"></i> Login Method for Windows (With SSL / TLS MODE)</h4>
  18. <p>If you are using Windows File Explorer as your WebDAV Client, go to "My Computer" and add a network drive with the following endpoint: <span class="protocol"></span>//<span class="hostname"></span>:<span class="port"></span>/webdav/{vroot_name}</p>
  19. </div>
  20. <script>
  21. var isMac = navigator.platform.indexOf('Mac') > -1;
  22. var isWindows = navigator.platform.indexOf('Win') > -1;
  23. //Update tutorial information
  24. $(".hostname").text(window.location.hostname);
  25. $(".port").text(window.location.port);
  26. if (window.location.port == ""){
  27. $(".port").text("80");
  28. }
  29. $(".protocol").text(location.protocol);
  30. if (isMac){
  31. $(".maconly").show();
  32. }else if (isWindows){
  33. $(".windowonly").show();
  34. }
  35. //Check if running in HTTPS mode. If yes, hide this functions
  36. if (location.protocol == 'https:'){
  37. $("#nontlsWindowsSettings").hide();
  38. $(".nontls").hide();
  39. }else{
  40. $(".tls").hide();
  41. }
  42. </script>