2023年4月11日星期二

linux 搭建apache2 webdav服务端-用于写入rclone mount的盘

apt-get update

apt-get install apache2 apache2-utils sudo -y

sudo a2enmod dav

sudo a2enmod dav_fs


nano /etc/apache2/sites-available/000-default.conf


Alias /webdav  /home/gdrive-b01


<Location /webdav>

 Options Indexes

 DAV On

 AuthType Basic

 AuthName "webdav"

 AuthUserFile /etc/apache2/webdav.password

 Require valid-user

 </Location>



sudo htpasswd -c /etc/apache2/webdav.password  admin


nano /etc/apache2/ports.conf

41114


systemctl restart apache2


没有评论:

发表评论

openwrt在线编译 插件名字查找

openwrt在线编译 https://firmware-selector.staging.immortalwrt.org/ 插件名字查找 https://downloads.staging.immortalwrt.org/releases/23.05.1/packages/x8...