WebDAV Davrods on Linux

40 views
Skip to first unread message

Bazi Jana

unread,
Jun 17, 2025, 10:33:23 AMJun 17
to iRODS-Chat
Hi,

I have iRODS server, which is working without any problem using iCommands.

Now I want to test WebDAV Davrods on Linux. From this link https://wiki.hpc.rug.nl/rdms/access/linux/webdav I see this Input "davs://webdav.data.rug.nl". 
How can I achieve to have such input for my iRODS server? (Suppose that the hostname is "rdmuni.data.com"). Do I need to do some configurations/settings? Any help would be appreciated.

Kind Regards,
Jana
davs.png

Ger Strikwerda

unread,
Jun 17, 2025, 11:00:03 AMJun 17
to irod...@googlegroups.com
Hello Jana,

From what I understand you want to connect from a webdav client to your iRODS server? You will than need something like this:


A webserver that runs a webdav-irods service (davrods), enabling webdav-clients to connect to your iRODS server.  Davrods uses a apache config where you can set options like for example:

    <Location />

        AuthType Basic
        Require valid-user

        AuthName DAV
        AuthBasicProvider irods
        Dav davrods-locallock
        DavRodsEnvFile  /etc/apache2/irods/irods_environment.json

        DavRodsServer <hostname irods-server> 1247
        DavRodsZone <name of your irods zone>
        DavRodsExposedRoot User

    </Location>

Let me know if you need more information, 

-- 
Vriendelijke groet, 

Ger Strikwerda

senior expert multidisciplinary enabler 
simple solution architect
Rijksuniversiteit Groningen
CIT/RDMS/HPC 

Smitsborg
Nettelbosje 1
9747 AJ Groningen
Tel. 050 363 9276


"God is hard, God is fair
 some men he gave brains, others he gave hair"

--
--
The Integrated Rule-Oriented Data System (iRODS) - https://irods.org
 
iROD-Chat: http://groups.google.com/group/iROD-Chat
---
You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/irod-chat/7e6ad8b1-04d4-48db-a751-1a244268cd7an%40googlegroups.com.
<davs.png>

Bazi Jana

unread,
Jun 18, 2025, 6:00:36 AMJun 18
to iRODS-Chat
Hello,

Many thanks. I will try first. Then, I will get back, if I need more information.

Kind Regards,
Jana

Bazi Jana

unread,
Jun 20, 2025, 5:25:42 AMJun 20
to iRODS-Chat
Hello,

I think I can configure Davrods on the iRODS server. However, It is not clear for me how to proceed and where/in which path I should place the given example (see below). Could you please describe the procedure (commands, etc.)?
"
    <Location />

        AuthType Basic
        Require valid-user

        AuthName DAV
        AuthBasicProvider irods
        Dav davrods-locallock
        DavRodsEnvFile  /etc/apache2/irods/irods_environment.json

        DavRodsServer <hostname irods-server> 1247
        DavRodsZone <name of your irods zone>
        DavRodsExposedRoot User

    </Location>
"


Kind Regards,
Jana

Ger Strikwerda

unread,
Jun 20, 2025, 6:23:01 AMJun 20
to irod...@googlegroups.com
Hello,

davrods is a apache-module, which enables a webserver (apache) to run a webdav-service that can interact with an irods-environment. Enabling webdav-clients to talk to irods.  After installing the davrods-package (basically a apache module) you need to enable this module:


# a2enmod davrods


create a davrods.conf and put this config in 


/etc/apache2/sites-enabled/ 


For example:


<VirtualHost *:80>


    # Enter your server name here.

    ServerName <fqdn servername>


    <Location />


        DirectoryIndex disabled


        AuthType Basic

        Require valid-user


        AuthName DAV

        AuthBasicProvider irods

        Dav davrods-locallock

        DavRodsEnvFile  /etc/apache2/irods/irods_environment.json


        DavRodsServer <fdqn irods-server> 1247

        DavRodsZone <irods zone name>

        DavRodsAuthScheme Native

        DavRodsExposedRoot Home


    </Location>


</VirtualHost>


/etc/apache2/irods/irods_environment.json is specific your your environment, but could be something similar to this:


{

    "irods_client_server_negotiation": "request_server_negotiation",

    "irods_client_server_policy": "CS_NEG_DONT_CARE",

    "irods_encryption_key_size": 32,

    "irods_encryption_salt_size": 8,

    "irods_encryption_num_hash_rounds": 16,

    "irods_encryption_algorithm": "AES-256-CBC",

    "irods_ssl_verify_server": "hostname"

}


After reloading apache you should be able to connect to your dav-service: http://<fdqn servername>


NB: use this config only for testing.


-- 
Vriendelijke groet, 

Ger Strikwerda

senior expert multidisciplinary enabler 
simple solution architect
Rijksuniversiteit Groningen
CIT/RDMS/HPC 

Smitsborg
Nettelbosje 1
9747 AJ Groningen
Tel. 050 363 9276


"God is hard, God is fair
 some men he gave brains, others he gave hair"

Bazi Jana

unread,
Jun 20, 2025, 7:31:40 AMJun 20
to iRODS-Chat
Many thanks for the clarification.
Reply all
Reply to author
Forward
0 new messages