Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  Problems setting up a dav-enabled server

Guest
Posted: Mon Mar 10, 2008 10:34 pm Reply with quote
Guest
Hi.
I'm trying to set up a Dav-enabled server using yaws 1.75 and
Erlang/OTP R11B on Ubuntu 7.10.

After starting yaws, I can read the contents of the site using a browser.
However, it is not possible to connect to the site with a WebDav client.
Using cadaver gives the following error:

$ cadaver http://localhost:9081/
Authentication required for foobar on server `localhost':
Username: foo
Password:
Could not access / (not WebDAV-enabled?):
Did not find a collection resource.
Connection to `localhost' closed.

If I tell cadaver to ignore errors (-t option) I can see the directory
contents, but any attempt
to 'put' a new file results in cadaver displaying a 100% progress bar,
then hanging for about
30 sec and finally failing with '409 Conflict'.

Could this behaviour depend on some configuration error on my side?
The server configuration is:

.....
<server localhost>
port = 9081
listen = 0.0.0.0
docroot = ./dav
dir_listings = true
dav = true
<auth>
realm = foobar
dir = /
user = foo:bar
user = baz:bar
</auth>
</server>

Any help would be appreciated.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Tue Mar 11, 2008 7:56 am Reply with quote
Guest
Marco Cavalieri wrote:

> .....
> <server localhost>
> port = 9081
> listen = 0.0.0.0
> docroot = ./dav
> dir_listings = true
> dav = true
> <auth>
> realm = foobar
> dir = /
> user = foo:bar
> user = baz:bar
> </auth>
> </server>
>

The yaws dav impl. is pretty lame. I'm not even sure if
yaws dav + auth works. Maybe some of the dav authors could comment.

/klacke

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
tobbe
Posted: Tue Mar 11, 2008 8:10 am Reply with quote
User Joined: 19 Jan 2005 Posts: 274 Location: Stockholm, Sweden
Claes Wikstr
View user's profile Send private message Send e-mail Visit poster's website

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum