aliyundrive-webdav
aliyundrive-webdav copied to clipboard
搭建完成后,网页访问报错404
问题描述
搭建完成后,网页访问报错404
重现步骤
1、完成部署 2、浏览器输入10.0.0.1:8980,回车
版本
v2.3.3
运行平台
openwrt
日志
补充步骤三:输入了账号和密码回车
@Tine789 解决了吗?我也是同样的问题,不过是405
@Tine789 解决了吗?我也是同样的问题,不过是405
我也同样报错405,啥情况啊?
Usage: aliyundrive-webdav [OPTIONS]
aliyundrive-webdav <COMMAND>
Commands:
qr Scan QRCode
help Print this message or the help of the given subcommand(s)
Options:
--host <HOST> Listen host [env: HOST=] [default: 0.0.0.0]
-p, --port <PORT> Listen port [env: PORT=] [default: 8080]
--client-id <CLIENT_ID> Aliyun drive client_id [env: CLIENT_ID=]
--client-secret <CLIENT_SECRET> Aliyun drive client_secret [env: CLIENT_SECRET=]
--drive-type <DRIVE_TYPE> Aliyun drive type [env: DRIVE_TYPE=] [possible values: resource, backup, default]
-r, --refresh-token <REFRESH_TOKEN> Aliyun drive refresh token [env: REFRESH_TOKEN=]
-U, --auth-user <AUTH_USER> WebDAV authentication username [env: WEBDAV_AUTH_USER=]
-W, --auth-password <AUTH_PASSWORD> WebDAV authentication password [env: WEBDAV_AUTH_PASSWORD=]
-I, --auto-index Automatically generate index.html
-S, --read-buffer-size <READ_BUFFER_SIZE> Read/download buffer size in bytes, defaults to 10MB [default: 10485760]
--upload-buffer-size <UPLOAD_BUFFER_SIZE> Upload buffer size in bytes, defaults to 16MB [default: 16777216]
--cache-size <CACHE_SIZE> Directory entries cache size [default: 1000]
--cache-ttl <CACHE_TTL> Directory entries cache expiration time in seconds [default: 600]
--root <ROOT> Root directory path [default: /]
-w, --workdir <WORKDIR> Working directory, refresh_token will be stored in there if specified
--no-trash Delete file permanently instead of trashing it
--read-only Enable read only mode
--tls-cert <TLS_CERT> TLS certificate file path [env: TLS_CERT=]
--tls-key <TLS_KEY> TLS private key file path [env: TLS_KEY=]
--strip-prefix <STRIP_PREFIX> Prefix to be stripped off when handling request [env: WEBDAV_STRIP_PREFIX=]
--debug Enable debug log
--no-self-upgrade Disable self auto upgrade
--skip-upload-same-size Skip uploading same size file
--prefer-http-download Prefer downloading using HTTP protocol
--redirect Enable 302 redirect when possible
-h, --help Print help (see more with '--help')
-V, --version Print version
如果不指定-I, --auto-index,那么就无法直接以浏览器访问