Hi there!
i have a dlink dns-323 NAS, which can be enhanced using "funplug" plugins. this way i have linux running and been using this box for some more things like webserver, sftp, torrent-client and such things.
after reading c't i stumbled accross TeamDrive, been using similar programs before, but "only" with online-storage as those programs (like dropbox) do not let you configure the server it uses.
so i recompiled lighttpd to include webdav support, created a virtual host and created a new sharedspace. i was able to add the sharedspace - so the 10 compatibilitytests are ok.
but when i drop files to my local directory, teamdrive try's to upload and fails, there are different error messages showed in details panel, sometimes it's "network error", sometimes "host not reachable" although i have other filetransfers between the computer and the nas running at the same time - so there can not be a "network error", nor can the nas be unreachable!
i tried to get a clue of the data in the logfiles, but had no luck - which is the correct file i shall look into in this case..? there is not "uploaderthread.log", so i am a little lost.
the only idea i have:
i am already using a lighthttpd virtualhost for other things, i want the webdav running under a different virtualhost to have it in a different directory.
but i did not manage to incorporate the webdav server into my existing virtual host, there is a bug with lighttpd & webdav & the mod_alias plugin - documented and will be fixed in a newer version. basically the workaround is to have the webdav root in the http-server root. but that's not ok for me.
this existing virtual host has to be accessed using ""http://nas" - the internal hostname for the nas.
so i created another virtual host, this has to be accessed using "http://192.168.0.51" - the ip address!
so my idea is that this will be the problem with Teamdrive...? though i added the SharedSpace using the IP in the http-string, is it possibly it looks up the hostname and tries to use this instead of the ip for the upload?
in that case it would access the http-virtualhost that has no webdav enabled.
if that is the case i think i could try to fix this using mod_rewrite, but as my success rate when using mod_rewrite is like 2%, i would like to have your input if that would be the correct way - i guess i will not be able to distinguish if my mod_rewrite-rule is wrong or if it's correct, but not working with teamdrive anyways.
i hope you can give me a hint/clue where to go/try next!
Thanks!, Martin.