[Owncloud] All DAV functions seem broken in latest git pull
Bugzy Little
bugzylittle at gmail.com
Fri May 11 06:42:40 UTC 2012
Hi Georg,
I did a lot more testing tonight and I am beginning to think that
the issue may be related to the AcceptPathInfo directive for Apache.
On Apache > 2.0 this variable needs to be set (AcceptPathInfo On) in
httpd.conf or in the .htaccess file. The problem that I have right now
is that I don't know exactly where in either of those files it should
go. In any case that may be the reason why I keep getting the
"Undefined index: PATH_INFO in /var/www/html/owncloud/remote.php on
line 5" error. Until the latest change to use path_info I was able to
use the dav urls since they linked to actual files, but with the
change it seems that I will need the AcceptPathInfo turned on (this is
probably true for the demo.owncloud.org/dev server as well). I'll try
to verify that this is the case when I wake up and return from work
tomorrow (It's late for me).
Thanks,
Bugzy
On Thu, May 10, 2012 at 11:39 AM, Georg Ehrke
<ownclouddev at georgswebsite.de> wrote:
>
> Am 10.05.2012 um 19:27 schrieb Bugzy Little:
>
>> Dear Georg
>>
>> On Thu, May 10, 2012 at 9:30 AM, Georg Ehrke
>> <ownclouddev at georgswebsite.de> wrote:
>>
>>>>> I see the following errors in the apache owncloud log:
>>>>>
>>>>> [Wed May 09 20:32:23 2012] [error] [client xxx.xxx.xxx.xxx] PHP
>>>>> Notice: Undefined index: PATH_INFO in
>>>>> /var/www/html/owncloud/remote.php on line 5
>>> That happens if you just call ownCloud/remote.php/ without the name of the service.
>>>>> [Wed May 09 20:32:23 2012] [error] [client xxx.xxx.xxx.xxx] PHP
>>>>> Warning: strpos(): Offset not contained in string in
>>>>> /var/www/html/owncloud/remote.php on line 6
>>>>>
>>> Same reason.
>>>
>>> Whatweb says that it remote.php/webdav returns an 401.
>>
> WhatWeb actually says that /files/webdav.php returns an 401 too, so it don't seems to be a fail of the remote.php
>> The authorization portion works, the problem seems to be everything
>> after that. Also, I have been testing this with demo.owncloud.org/dev/
>> as well as my local installation to ensure that the issues are not
>> particular to my setup. The urls work not only in finder but also in
>> firefox, Chrome, and IE. I will do some more testing and see if I can
>> come up with some more data.
>>
>> Thanks for looking into this
>> Bugzy
>
More information about the Owncloud
mailing list