If you are unable to create a new account, please email support@bspsoftware.com



MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

WEBDAV Configure on Apache

Started by naveen_hadagali, 20 Dec 2007 05:19:04 AM

Previous topic - Next topic


Hi All,

I am working on Cognos 8, now as the report authors need images to use in Reports. We have images in the particular folder. But when they add image from toolbar and click URL they get error 501 wedav error.

So for that i need to do WEBDAV Configuration . I have Apache, Weblogic server. so could you plz guide me how to do this

Thanks in Advance


COGNOiSe administrator

To enable mod_dav, add the following to a container in your httpd.conf file:

Dav On

This enables the DAV file system provider, which is implemented by the mod_dav_fs module. Therefore, that module must be compiled into the server or loaded at runtime using the LoadModule directive.

In addition, a location for the DAV lock database must be specified in the global section of your httpd.conf file using the DavLockDB directive:

DavLockDB /usr/local/apache2/var/DavLock

The directory containing the lock database file must be writable by the User and Group under which Apache is running.

You may wish to add a <Limit> clause inside the <Location> directive to limit access to DAV-enabled locations. If you want to set the maximum amount of bytes that a DAV client can send at one request, you have to use the LimitXMLRequestBody directive. The "normal" LimitRequestBody directive has no effect on DAV requests.
Full Example

DavLockDB /usr/local/apache2/var/DavLock

<Location /foo>
Dav On

AuthType Basic
AuthName DAV
AuthUserFile user.passwd

<LimitExcept GET OPTIONS>
require user admin



I am having the same problem and have found the solution here:

(seems same as yours).

The problem is, I can't find the Location of the WebDAV lock database.

I have looked where the Apache Server is installed but can't find any file that might be the WebDav lock DB.

Any ideas where it may be?


Apache will create the file in the location you specify if it does not exist. Make sure apache has the ability to +rw in the location you specify.
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)


Hi everyone,

I'm having some problems at the moment setting up WebDAV in Apache for Cognos 10.2.2. I've trawled the web and the IBM documentation but it's still not working, which is getting quite irritating now!!

I've tried to enable the mod_dav_lock.so module in the apache conf, however when I do so and try to restart the apache service, I get the following message:

Starting httpd: httpd: Syntax error on line 203 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_dav_lock.so into server: /etc/httpd/modules/mod_dav_lock.so: cannot open shared object file: No such file or directory

There doesn't appear to be much on the web about this message and it looks like I need to get this enabled successfully if I want to have WebDAV enabled. Has anyone come across this message?

The box is a RHEL box running Cognos 10.2.2 and Apache version 2.2.15. Any info/pointers greatly appreciated!