[Owncloud] ownCloud on directadmin / suphp

Artem Sidorenko artem at 2realities.com
Thu May 31 10:20:39 UTC 2012


Hi,

It's not the owncloud problem, something is wrong with apache configuration or htaccess. I assume that your php configuration is clean if you can reach the owncloud web interface.

Can you see your data if you type the webdav url in some browser? Or you get permission denied only if you try to create a new folder? (You can test it with windows web folders)
Check the apache configs and htaccess regarding to allow/deny/satisfy configurations. Do you have something like mod_security? Some Limit configurations in apache?
-- 
Best regards,
Artem Sidorenko.

Sent from my mobile

"info at servweb.eu" <info at servweb.eu> wrote:

Hi,

On my problem, I investigate more.

Access log is (when clicking on "create" button in the windows client 1.0.2" :
109.190.0.101 - - [31/May/2012:11:20:51 +0200] "GET /files/webdav.php/PCClenet HTTP/1.1" 404 710 "-" "mirall-1.0.2"
109.190.0.101 - - [31/May/2012:11:22:33 +0200] "MKCOL /files/webdav.php/PCClenet HTTP/1.1" 403 1405 "-" "mirall-1.0.2"

Then error log is
[Thu May 31 11:22:33 2012] [error] [client 109.190.0.101] client denied by server configuration: /home/myuser/domains/*******.com/public_html/mutu101/files/webdav.php
[Thu May 31 11:22:33 2012] [error] [client 109.190.0.101] client denied by server configuration: /home/myuser/domains/*******.com/public_html/mutu101/files/webdav.php

I've searched about Dav module. They are present in my Apache, but not activated (this need a special directive in my vhost conf file, not used in my case)

I've searched about problem in the apache vhost conf file, but it seems normal, without special deny entry.

I've searched about .htaccess. I've seen that authorization directive may cause pb with suPHP. But applying a workaround found here ( http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-164 ) does nothing.

I've searched about an suPHP problem. I can't investigate more in that case because I haven't any help in log file about wich PHP file really send the 403 response. I've seen many reasons in scripts that could generate a 403 return header.

To go further : Is it possible to increase log level of ownCloud to get very verbose log, even for webdav connection (like the client do) ?

Is there antoher way to investigate more ?

Regards,

Gwenaël MOREAU


-----Message d'origine-----
De : Frank Karlitschek [mailto:frank at owncloud.org] 
Envoyé : lundi 28 mai 2012 20:43
À : info at servweb.eu
Cc : owncloud at kde.org
Objet : Re: [Owncloud] ownCloud on directadmin (or in case that webdav already active)

Hi,

strange. 
Can you try to to uninstall the apache webdav support completely?
Do you see more information in the apache error log?


Frank


On 28.05.2012, at 18:33, info at servweb.eu wrote:

> Hi,
> 
> I'm coming to you to report a recurant problem. I've seen many reports of it but no clear answer.
> 
> It's related to "owncloud on a directadmin server" or "owncloud on ovh 
> hosting" or "onwcloud on mutu hosting" and before v4, we get error 500 
> on ownCloud v3
> 
> Symptom : After installing the sync client, when creating sync profile, a step is dedicated to configure a directory on the owncloud server to sync. The client provide a button to create the directory. After creation, it says everythings goes fine but finaly re-ask for creating the directory. In the server log, a line with "client denied by server configuration:" appears.
> 
> After research, I think the main possibility is that another webdav server already runs on the server. I see apache modules like dav_module, dav_fs_module, dav_lock_module (compiled as static in directadmin).
> 
> In httpd.conf I find this lines, accrediting the idea that webdav is already active before ownCloud :
> # Distributed authoring and versioning (WebDAV) Include 
> conf/extra/httpd-dav.conf
> 
> After commenting the include line, and restarting apache, this works not better.
> 
> Question : Is there a way for bypassing webdav apache configuration to use ownCloud in a VHost ?
> 
> Have you some more ideas for me ?
> 
> Regards,
> 
> Gwenaël MOREAU
> 
> http://www.owncloud.fr
>_____________________________________________

> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud

_____________________________________________

Owncloud mailing list
Owncloud at kde.org
https://mail.kde.org/mailman/listinfo/owncloud

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120531/47cf6f8b/attachment.html>


More information about the Owncloud mailing list