I was used to configure WebDav on Oracle Database for Oracle Business Rules, it was pretty hard to configure and very unstable. Recently found out that I can configure WebDav on Oracle Apache.
Usually to install WebDav on vanilla Apache server, we need to install couple of dll file and load those module during Apache startup, but for Oracle Apache all configuration are done out-of-the-box, only thing we need to specify is location and type of repository.
Configuration file:
%soasuite%/Apache/oradav/conf/moddav.conf
To enable default WebDav repository:
<Location /dav_public>
DAV on
</Location>
Once you specify on, http://host:port/dav_public (which located under %soasuite%/Apache/Apache/htdocs/dav_public is ready for use as webdav repository.
To create new WebDav repository:
1) Add following entry in %soasuite%/Apache/oradav/conf/moddav.conf file
<Location /my_webdav_repository>
DAV on
</Location>
2) Create directory called %soasuite%/Apache/Apache/htdocs/my_webdav
3) Restart the Apache server and that's all required for configuring custom repository.
To create password for WebDav repository:
1) Create authentication file with different user, I created
%soasuite%/Apache/Apache/bin/htdigest -c %soasuite%/Apache/oradav/conf/webdav.access webdav-authentication oc4jadmin
%soasuite%/Apache/Apache/bin/htdigest %soasuite%/Apache/oradav/conf/webdav.access webdav-authentication ruleauthor
2) Change %soasuite%/Apache/oradav/conf/moddav.conf to provide the authentication mode:
<Location /my_webdav_repository>
DAV on
AuthType Digest
AuthName "webdav-authentication"
AuthDigestFile %soasuite%/Apache/oradav/conf/webdav.access
Require valid-user
</Location>
3) Restart the server and now my_webdav_repository will be accessible only after username and password authentication.
3 comments:
Hi Chinthan,
I was trying to create a WebDAV repository and the following directory are mising :
i am using soa suite 10.1.3.1
%soasuite%/Apache/oradav
Apache/Apache/bin..
what to do in this case
Thanks
Sujith
Probably because it is basic install. Basic install doesn't come with Apache server.
Hi Chinthan,
Im trying to configure WebDAV in a 2-node cluster instance. Are there any specific configurations that need to be made for a cluster install of Rules Author.
Thanks,
Amby.
Post a Comment