Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

进入页面以后出现405错误 #6

Closed
Calmact opened this issue Aug 27, 2021 · 5 comments
Closed

进入页面以后出现405错误 #6

Calmact opened this issue Aug 27, 2021 · 5 comments
Labels
question Further information is requested

Comments

@Calmact
Copy link

Calmact commented Aug 27, 2021

在输入用户名和密码以后,出现网页405错误,是因为什么呢?
image

@messense
Copy link
Owner

这个不是用来给浏览器访问的(浏览器的话直接用官方网站就好了),你需要支持 WebDAV 的软件,比如 Infuse

@messense
Copy link
Owner

BTW, 需要简单的浏览器访问页面的话可以增加命令行参数 -I.

@Calmact
Copy link
Author

Calmact commented Aug 27, 2021

@messense 请问如何添加呢?可以在Openwrt的Luci界面增加这个参数么?或者配置config文件?

@messense
Copy link
Owner

可以修改 /etc/init.d/aliyundrive-webdav 文件,把

procd_set_param command /bin/sh -c "/usr/bin/$NAME --host $host --port $port -S $read_buf_size >>/var/log/$NAME.log 2>&1"

改成

procd_set_param command /bin/sh -c "/usr/bin/$NAME --host $host --port $port -S $read_buf_size -I >>/var/log/$NAME.log 2>&1" 

@messense
Copy link
Owner

这个功能目的是开发过程中快速 debug,不是给用户使用的,建议通过 WebDAV 客户端使用。

@messense messense added the question Further information is requested label Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants