To use webdav easily, you should install Lighttpd since onyl easy package to use webdav(or you can download source and compile the Nginx and other solutions).
I don't remember I had face the error.
But I have install and configure properly.
make 'nano /etc/lighttpd/conf.d/99-yourconfig.conf'('99' part is very important)
and put everything what you want in this file.
not others. I strongly recommend you never touch other auto generated configs.
(only touch you are FULLY understand).
then most of issue will not be shown.
I am trying to set up Webdav on the same model. MyBookLive, because i want to access from the outside world and share to other users.
My lighttpd.conf looks like this:
server.document-root = "/www"
server.upload-dirs = ( "/tmp" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "http"
server.groupname = "www-data"
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm",
)
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
### Options that are useful but not always necessary:
#server.chroot = "/"
#server.port = 81
#server.bind = "localhost"
#server.tag = "lighttpd"
#server.errorlog-use-syslog = "enable"
#server.network-backend = "writev"
### Use IPv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl"
#dir-listing.encoding = "utf-8"
#server.dir-listing = "enable"
include "/etc/lighttpd/mime.conf"
include "/etc/lighttpd/conf.d/*.conf"
my 30-webdav looks like that:
**## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModWebDAV**
server.modules += ( "mod_webdav" )
$HTTP["url"] =~ "^/dav($|/)" {
## enable webdav for this location
webdav.activate = "enable"
##
**## By default the webdav url is writable.**
**## Uncomment the following line if you want to make it readonly.**
#webdav.is-readonly = "enable"
**## Log the XML Request bodies for debugging**
#webdav.log-xml = "disable"
webdav.sqlite-db-name = home_dir + "/webdav.db"
}
Does everything look good? Because i cannot connect to it via WEBdav when I try with an OSX MacBook Pro with High Sierra on it.
I will get the response There was a problem...: This file server will not allow any additional users to log on. Try to connect again later.
Well... my system has more complicated customization,
but I can highlight some of few part that my configuration.(most of them are same(or ignore-able) which I;m not mentioned below.
(you also need '20-auth' mod)
Disable the log. the OpenWRT's log system on RAM which limit and small which you will lose the prior log in second if many user accessing it. And for performance.
And Disable write permission first. whether working.
so what you posted was in which file? the lighttpd.conf or the 99-webdav.conf?
And how does the mod auth have to be activated? When i try to include it, it won't start the lighttpd..
And how does the /etc/htpasswd look like?
If you could post all separate files here (changed usernmaes and passwords of course.. that would be great..
it is weird. the update and install went smooth. i was able to restart the deamon lighttpd.
But as soon as i make the changes according to your listing
Hello,
it isn't possible to get it running for me.
I already updated the system to the latest openwrt version.
Could you please verify if the offered walkthrought's are realy working on the current Openwrt version?
Problems i had:
(failer on installing packages - somthinge wiht dbus) -> fixed with system Upgrade
(problems und making chmod for http user) -> in the last itend, worked on the var/lib but not on the srv/data/dav, the folder stays with root , the group was correctly changed to www-data
(on starting error: variable already set in other configuration file) -> i disabled the init.d/1... config because there is no difference to the variable in lighttpd.conf
on successfull starting: no password demand is coming up by trying to access /dav/ folder in the browser. The requested URL /dav/ was not found on this server.
Plus, you should do thing with nano /etc/lighttpd/conf.d/30-cgi.conf
and add "cgi-bin/luci" => "" (include all double quotations) in the cgi.assign section with comma