DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-02-06 21:37:52

vschlenk
Member
Registered: 2011-01-27
Posts: 25

using lighttpd for WebDav

Hi,

i want to setup WEBDAV as a mounted drive with SSL support.

For this to work it seems to me that adding webdav-support to lighttpd would be the right approach. I did some research and the only thread where it seemed explained is no longer available. [lighttpd with webdav Building webdav-enabled lighttpd for DNS-323 by ianalis].

Does any one know which steps to follow?

Thanks a lot in advance,
Volker

Offline

 

#2 2011-02-07 10:44:12

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: using lighttpd for WebDav

A quick google gives dozens of walkthroughs for different platforms. What makes you think your NAS is different?

Offline

 

#3 2011-02-07 11:47:20

vschlenk
Member
Registered: 2011-01-27
Posts: 25

Re: using lighttpd for WebDav

Mijzelf wrote:

A quick google gives dozens of walkthroughs for different platforms. What makes you think your NAS is different?

Thanks a lot for your answer - and NO I do not think that the NAS is different. Only thing was that I never did a "build" on my own and wanted to know how this is being done as the precompiled version from funz seems not to support webdav [does not have the appropriate module pre installed].

Thanks,
Volker

Offline

 

#4 2011-02-07 13:33:46

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: using lighttpd for WebDav

The current lighttpd package from fonz containt this modules:

mod_access mod_accesslog mod_alias mod_auth mod_cgi mod_cml mod_compress mod_dirlisting mod_evasive mod_evhost mod_expire mod_extforward mod_fastcgi mod_flv_streaming mod_indexfile mod_magnet mod_mysql_vhost mod_proxy mod_redirect mod_rewrite mod_rrdtool mod_scgi mod_secdownload mod_setenv mod_simple_vhost mod_ssi mod_staticfile mod_status mod_trigger_b4_dl mod_userdir mod_usertrack mod_webdav

This looks sufficient to me, so all you have to do is configure lighttpd.conf.

Last edited by Mijzelf (2011-02-07 13:34:25)

Offline

 

#5 2011-02-08 16:15:02

vschlenk
Member
Registered: 2011-01-27
Posts: 25

Re: using lighttpd for WebDav

Hi Mijzelf,

thanks a lot. I have to try it out. I was not sure if mod_webdav - which seems to be the standard module  - can make a "real" drive work.

The guys  from lighttpd did mentionthat you do need libxml2: http://redmine.lighttpd.net/wiki/1/Docs:ModWebDAV

If you are only looking for PUT and DELETE support, the basic mod_webdav works for you. No special compile-time options or libraries are required. PUT and DELETE are already part of the HTTP/1.1 spec, but are mostly used in combination with WebDAV. PROPFIND, PROPPATCH¶ PROPFIND and PROPPATCH are used to do a directory-listing and to attach properties to a file-object. As this involves parsing of XML-data we need libxml2. To make PROPPATCH work you need sqlite3 to store the properties in a separate location:

    * libxml2
      FC4:
      libxml2 libxml2-devel
    * sqlite3
      FC4:
      sqlite sqlite-devel

To compile mod_webdav with property-support you have to specify: : $ configure --with-webdav-props

If this has been implemented I am not quite sure of and didn't know how to move forward. The only way to know if it is included will be to test it out. But nevertheless thanks for your involvement and hints.

Volker

Offline

 

#6 2011-02-09 16:17:53

namxnam
Member
Registered: 2009-02-13
Posts: 11

Re: using lighttpd for WebDav

Hi

I also for a long time have been wanting to enable webbdav, but also did not think it was possible (using the funplug version of lighttpd) as I had read that it had to be compiled differently (which is beyond me).

I have had a go at enabling it by adding mod_webdav to the conf file, a couple of lines to configure webdav (copy and paste from internet) and also digest authentication.  So far I am able to get a directory listing....but cannot open a file, save a file, open a folder etc....

I will keep trying....  but I am completely out of my depth!

If you have any success it would be good to know.

Thanks

K

Offline

 

#7 2011-04-14 18:30:21

Sl33py
New member
Registered: 2011-04-14
Posts: 1

Re: using lighttpd for WebDav

Hi
I have enabled the Lighttpd Web Server from this page http://dns323.kood.org/howto:ffp and it is running, but I am lost in getting the WebDAV to work.
I see some other tutorials on the net but I am afraid my Linux knowledge is limited so I am stuck I cant customize it.
I would like to use WebDAV to do calendar sharing from outlook. We currently have a PC doing the job but it would be neat if I can get the NAS to run it. Any help?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB