cancel
Showing results for 
Search instead for 
Did you mean: 

Problem accessing via webdav (401 - unauthorized)

hananherzog
Champ in-the-making
Champ in-the-making
I just installed Alfresco Tomcat Bundle 1.0 on Linux. In the short-term I am  interested in using Alfresco as an alternative to Slide for an application which depends on it as a content repository. I therefore tried to access Alfresco via cadaver (open-source text-based webdav browser)–just to see if worked. At least so far, it hasn't.

Below is the error I got:

cadaver localhost:8080/alfresco/webdav
Could not contact server:
401 Unauthorized
dav:!>

I am using MySQL 5.0, against the recommendation of the fine folks at Alfresco, but I assume that this is not the cause of this problem.

Any pointers to what I need to configure/modify to get webdav access working in Alfresco 1.0?

Cheers,

Hanan
3 REPLIES 3

gavinc
Champ in-the-making
Champ in-the-making
You need to login to gain access to the WebDAV server.

Did you pass over the username and password with the HTTP request?

Unfortunately I've never used cadaver so I'm not sure how you achieve it, but essentially what you need is for the HTTP authentication handshake to take place.

hananherzog
Champ in-the-making
Champ in-the-making
Normally, cadaver would prompt for a username and password if one was needed –it does this correctly when I connect to instance of Slide, for example. But as in my previous post, Alfresco/webdav just returns an unauthorized error. I would expect that this behavior is not Webdav-conformant, but not sure.

Tomorrow I will try to access alfresco/webdav via Jakarta WebdavClient properly pass the username and password. I would be thrilled if it all worked.

Unrelated question: I saw in some docs on alfresco.org that the aim of the webdav implementation was to be Webdav compliant up to Slide 2.0. Has it reached that point yet?

Thanks for your super-fast response,

Hanan

gavinc
Champ in-the-making
Champ in-the-making
Currently we only have the basic WebDAV support, as you say support for more advanced WebDAV features is planned but I'm not sure on the timeframe for that I'm afraid.