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

Author Topic: WEBDAV Configure on Apache  (Read 7640 times)

naveen_hadagali

  • Guest
WEBDAV Configure on Apache
« on: 20 Dec 2007 05:19:04 am »
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

Naveen

Offline COGNOiSe administrator

  • Administrator
  • Statesman
  • ******
  • Posts: 675
  • Forum Citizenship: +32/-8
    • BrightStar Partners, Inc
Re: WEBDAV Configure on Apache
« Reply #1 on: 04 Jan 2008 12:03:07 am »
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
</LimitExcept>
</Location>

Offline AbuHaneefah

  • Full Member
  • ***
  • Join Date: Nov 2013
  • Posts: 6
  • Forum Citizenship: +0/-0
Re: WEBDAV Configure on Apache
« Reply #2 on: 05 Nov 2013 06:04:50 am »
Hi,

I am having the same problem and have found the solution here:
http://www-01.ibm.com/support/docview.wss?uid=swg21340765

(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?


Offline Grim

  • Honorary Master of IBM Links
  • Statesman
  • ******
  • Join Date: Nov 2011
  • Posts: 688
  • Forum Citizenship: +58/-7
Re: WEBDAV Configure on Apache
« Reply #3 on: 05 Nov 2013 09:14:51 am »
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)

Dev1975

  • Guest
Re: WEBDAV Configure on Apache
« Reply #4 on: 11 Aug 2015 03:45:09 am »
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!

Thanks,
Dev