[Owncloud] Can not log in via webDAV

Klaas Freitag freitag at kde.org
Mon Oct 17 15:03:59 UTC 2011


Hi,

I have installed ownCloud in a subdomain of my webspace. The code comes 
from http://owncloud.org/releases/owncloud-latest.tar.bz2 (should be oC 
2.0).

The web interface works great. I created two users, an admin user and a 
non priviledged user.

The problem is that I can not use the webdav functionality as login
to http://oc.host.de/files/webdav.php fails. I tried with KDE KIO slave, 
in the browser and with curl.

Here is what I see in firebug:


GET /files/webdav.php HTTP/1.1
Host: oc.xxy.de
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 
Firefox/5.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Cookie: PHPSESSID=f8820ceff21bbbb590df1b20c129fb9b
Authorization: Basic a2X7Ym13cjc1NQ==

Answer:

HTTP/1.1 401 Unauthorized
Date: Mon, 17 Oct 2011 14:59:22 GMT
Server: Apache
X-Powered-By: PHP/5.3.8
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, 
pre-check=0
Pragma: no-cache
WWW-Authenticate: Basic realm="ownCloud"
Keep-Alive: timeout=15, max=93
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

Data:

<d:error><s:exception>Sabre_DAV_Exception_NotAuthenticated</s:exception><s:message>No 
basic authentication headers were 
found</s:message><s:sabredav-version>1.5.3</s:sabredav-version></d:error>

Any ideas? For me it smells like a problem caused by the sub domain. 
Possible?

regards,

Klaas



More information about the Owncloud mailing list