1. What is WebDav ?
2. How to enable WebDav in IHS?
I will use IHS as HTTP server in my example.
- Enable DAV modules of IHS
Locate to the IHS configuration file, which is usually in /opt/IBM/HTTPServer/conf and use an editor to open the httpd.conf and uncomment these following lines:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
Then add this line to the end of the httpd.conf to load your configuration file which will be created in next step
- Configure the DAV
Next step is to create necessary directories and the configuration file mentioned above (webdav.conf)
Make webdav directory where will be the file storage:
#mkdir -p /home/ihs/webdav
Make directory to store the lock files created by the DAV module
#mkdir -p /opt/IBM/HTTPServer/var/DAVLock
#chown nobody:nobody /home/ihs/webdav
# chown nobody:nobody /opt/IBM/HTTPServer/var/DAVLock
Alias /webdav/ “/home/ihs/webdav”
AuthName “WebDav Server”
<LimitExcept POST GET>
Allow from all
- Create DAV user(s)
Make sure you have path to htpasswd added to the $PATH of the environment, before executing the command below, to create a user mym
Re-type new password:
Adding password for user mym
Restart your IHS.
Now you can use a WebDav client to connect to the server