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


没有评论:

发表评论

转-汇丰香港开户详细教程(无须中介)

https://www.nodeseek.com/post-265532-1 汇丰香港,作为一家外资银行,同时也是香港三大具备发钞资格的银行之一,其全球业务网络广泛覆盖80余个国家和地区,稳居全球银行业前列。在香港开设银行账户时,汇丰香港是必开的香港银行账户之一。 一、开户前准备...