Configuring WebDAV on IBM HTTP Server or Apache HTTP Server

To view and browse images inReporting, configure Web Distributed Authoring and Versioning (WebDAV) on your web server.

Report authors can browse for images to include in reports in a way that is similar to browsing a file system. On IBM HTTP Server or Apache HTTP Server, you must add directives to your server configuration file, and then configure the directory access.

Use the following procedure to configure WebDAV on Apache 2.4.

Procedure

  1. In the webserver_location/conf directory, open the httpd.conf file in a text editor.
  2. Uncomment the directives that load modules/mod_dav.so and modules/mod_dav_fs.so.
    LoadModule dav_module modules/mod_dav.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
  3. Provide a location for the DAVLockDB directive.

    For example,

    DAVLockDB "webserver_location/var/DavLock"

    Ensure that the directory exists.

  4. Create an alias for the directory where your images are stored.
  5. Add Dav On to the <Directory> information for the alias.

    For example, for Apache 2.4

    Alias /images "path/shared_images"
    
    <Directory "path/shared_images">
       Dav On
       Options Indexes MultiViews
       AllowOverride None
       Require all granted
    </Directory>
  6. Save the file.
  7. Restart your web server.

Results

With WebDAV enabled, Reporting users can add images to their reports. When users click Browse in the image browser, the default location for browsing is http://servername/ibmcognos/bi/samples/images. If you created another location, users can enter that location.