Giter Site home page Giter Site logo

Comments (5)

117503445 avatar 117503445 commented on August 29, 2024
  1. 这个是几年前写的了。从现在的角度看,这个小项目其实只是对 golang.org/x/net/webdav 库的封装而已。所以说 GoWebDAV 只是相比 Apache 这些,依赖少,所以内存占用更少而已。速度的话,"2.5G 及以上带宽" "不稳定的广域网络环境" 等场景都是没测试、更没有优化的。

    但是 GoWebDAV 的一个设计理念就是对个人来说用着方便。一行 docker run ,就能快速的把本地多个路径都用 WebDAV 协议暴露出来。

  2. 目前每个子目录下都是支持 WebDAV 协议的,但是第一层根目录下没有支持 WebDAV。所以你可以试试挂载 /dav1 。这个问题我之前想到过,后来忘了,以后有空修。

  3. 设置密码后,按道理会用 Basic Auth 的形式触发浏览器弹窗,要求输入用户名和密码。可能是浏览器弹窗设置...? 我没啥思路,也不知道怎么复现。你可以发一下 GoWebDAV 配置、浏览器版本之类的。

  4. 是不支持的。因为 GoWebDAV 的特点就在于用着方便,能一行 docker run 就跑起来,所以就用了 dav 环境变量的方式。也想过用 yaml 配置文件,但是这样就比较复杂,而且现在已经有人用 dav 环境变量了(历史包袱),又觉得反正现在这样也能跑,就懒得改了。

    不过虽然 ,; 不能用,你还能用其他 ! 之类的特殊符号。而且就算不用特殊符号,足够长的大小写字母口令也能保证安全性,毕竟指数的威力比底数大。

from gowebdav.

xjl456852 avatar xjl456852 commented on August 29, 2024

你好,我浏览器用的Edge 的 版本 100.0.1185.39 (正式版本) (64 位), 他没有弹窗,没有提示输入用户名/密码.
命令使用的是:
docker run -it --name go_webdav -d -v /data/:/root/dir1 -e dav="/dav1,/root/dir1,xjl456852,123456,true" -p 8080:80 --restart=unless-stopped 117503445/go_webdav

这个webdav服务是不是只能通过web访问, 不能通过磁盘映射,或者通过RaiDrive这个软件映射为本地磁盘访问?

from gowebdav.

117503445 avatar 117503445 commented on August 29, 2024

比较奇怪,同样的 Edge 版本,我这里可以的,你要不换成 Edge 的 InPrivate 隐私模式试试看

屏幕截图 2022-04-14 221129

我记得以前我用 RaiDrive 成功映射过,等我有空了再试试

from gowebdav.

xjl456852 avatar xjl456852 commented on August 29, 2024

隐私模式可以出现弹框,可能跟Basic Auth这种验证方式有关.
Raidrive这种添加映射时,提示返回的html,无法进行映射.

from gowebdav.

117503445 avatar 117503445 commented on August 29, 2024

image
image
image
image

我这里是可以使用 Raidrive 的,你可以把你的 Raidrive 配置发给我,让我复现一下

from gowebdav.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.