Another WebDAV question...

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
25,033
Location
California
Is anyone running WebDAV along with mod_ruid2 ? We're looking at supporting WebDAV; it appears that with mod_ruid2 security issues would be resolved.

Anyone have experience with it? Does it just work? Or is something required?

Jeff
 
What are you using for webdav?

Have you tryed ownCloud with imap authentication (well not mandatory but useful if you dont wanna create each user)

Regards
 
OwnCloud looks to be a very good app, however I did have some major difficulty in getting it to work under mod_ruid2. I won in the end, so if you end up going that route, I'd be more than happy to relay my fixes.
 
What are you using for webdav?

Have you tryed ownCloud with imap authentication (well not mandatory but useful if you dont wanna create each user)
Nothing yet. Still looking for others' experiences.

Jeff
 
OwnCloud looks to be a very good app, however I did have some major difficulty in getting it to work under mod_ruid2. I won in the end, so if you end up going that route, I'd be more than happy to relay my fixes.

I've burned an entire day trying to get ownCloud installed on my DA server. I finally found your message which might help me solve my problem- being that I'm using mod_ruid2 and Apache2.

Currently ownCloud wants directories to be owned by 'apache'. I can read/download the directories using the ownCloud client app (OSX) but I cannot write anything. I've played around with permissions and I've had zero success. The apache error log reads: "client denied by server configuration".

Do you mind sharing your success story? I would greatly appreciate it!

Thank you.
 
Currently ownCloud wants directories to be owned by 'apache'. I can read/download the directories using the ownCloud client app (OSX) but I cannot write anything.".

I installed ownCloud via Installatron 9.3 after upgrading to PHP 5.3. (Running DA 1.44)

Unfortunately something still missing in the config, at least the default installation doesn't work for the Windows Client. The log gives me:

Problem: 403 Forbidden

For every file it tries to write.

Uploading in the Web interface works though...
 
Got this answer from Installatron Support:

The default DirectAdmin HTTPD configuration doesn't support the ownCloud sync client. To enable this, in /etc/httpd/conf/extra/httpd-directories.conf the default DA config with "<Limit GET POST OPTIONS PROPFIND>" and "<LimitExcept GET POST OPTIONS PROPFIND>" should be extended to include PUT and DELETE.

As I can't find the mentioned httpd-directories.conf , posting it here to see if anyone knows.
 
Last edited:
I installed ownCloud via Installatron 9.3 after upgrading to PHP 5.3. (Running DA 1.44)

Unfortunately something still missing in the config, at least the default installation doesn't work for the Windows Client. The log gives me:

Problem: 403 Forbidden

For every file it tries to write.

Uploading in the Web interface works though...


Are you sure you are not trying to write into a shared folder by another user with no write permissions?

I've had the same "Problem: 403 Forbidden" and this turned out to be the problem...
 
Are you sure you are not trying to write into a shared folder by another user with no write permissions?

I've had the same "Problem: 403 Forbidden" and this turned out to be the problem...

Hi Ricardo, thanks for your help!

Yes, i'm sure.

I have created a new subdomain, installed ownCloud there, added one user with admin rights and using that user to sync.

Installatron support keeps repeating its in Limit GET POST OPTIONS PROPFIND setup of DA, however i'm unable to find that setup for this in the httpd config directory :(
 
Go to the admin panel. Open the custom httpd config for that domain and paste this:
Code:
<Directory |DOCROOT|>
        <Limit GET POST OPTIONS PROPFIND PUT DELETE MKCOL MOVE>
                Order allow,deny
                Allow from all
        </Limit>
        <LimitExcept GET POST OPTIONS PROPFIND PUT DELETE MKCOL MOVE>
                Order deny,allow
                Deny from all
        </LimitExcept>
</Directory>
PUT is to send files
DELETE is to delete elements
MKCOL is to create folders
MOVE is to move elements

EDIT: More verbs are needed at times, so maybe it's best to simply use something like that for the vhost:
Code:
<Directory |DOCROOT|>
	Order Allow,Deny
	Allow from all
</Directory>
 
Last edited:
Back
Top