by pepedog » Fri May 20, 2011 11:14 am
With the Arch Linux ARM distribution, modules for webdav and userdir are installed with apache
In /etc/httpd/conf/http.conf uncomment line
Include conf/extra/httpd-dav.conf
Run this
$this->bbcode_second_pass_code('', '[root@PBLinux ~]# htdigest -c "/etc/httpd/user.passwd" DAV-upload admin
Adding password for admin in realm DAV-upload.
New password:')
Create directory /etc/httpd/uploads
Create directory /etc/httpd/var and change owner to http
Restart httpd
I installed cadaver to test
$this->bbcode_second_pass_code('', '[root@PBLinux ~]# cadaver http://localhost/uploads
Authentication required for DAV-upload on server `localhost':
Username: admin
Password:
dav:/uploads/> ls
Listing collection `/uploads/': succeeded.
Coll: Abba 0 Aug 17 2010
dav:/uploads/> mkcol test
Creating `test': failed:
500 Internal Server Error
dav:/uploads/> mkcol test
Creating `test': succeeded.
dav:/uploads/> ls
Listing collection `/uploads/': succeeded.
Coll: Abba 0 Aug 17 2010
Coll: test 0 May 20 12:25
dav:/uploads/> quit
Connection to `localhost' closed.')