Setting Enable IHS WebDAV

Berlanjut dari artikel sebelumnya, ketika mencoba untuk menambahkan image di dalam report studio, terjadi error
web server error
the web request failed
405 – method not allowed
Ketika mengklik more information, terdapat keterangan untuk menyalakan webDAV terlebih dahulu

Berikut langkah-langkah untuk menjalankan webDAV
1. Buka /opt/IBM/HTTPserver/conf/httpd.conf, buka 2 baris ini
LoadModule dav_module modules/
LoadModule dav_fs_module modules/
2. Tambahkan baris berikut di bawah LoadModule
Include /opt/IBM/HTTPServer/conf/httpd-dav.conf
3. Buka terminal dan arahkan ke /opt/IBM/HTTPserver/conf/. Jalankan command di bawah
# mkdir files/dav
# chown nobody:nobody files/dav
# mkdir -p /opt/IBM/HTTPServer/var/DAVLock
# chown nobody:nobody /opt/IBM/HTTPServer/var/DAVLock
4. Buat /opt/IBM/HTTPServer/conf/httpd-dav.conf, dan isi command berikut
DAVLockDB /opt/IBM/HTTPServer/var/DAVLock
DAVMinTimeout 600
Alias /files/ “/opt/cognos/c8/webcontent/samples/images/”
Alias /files “/opt/cognos/c8/webcontent/samples/images”
<Directory “/opt/cognos/c8/webcontent/samples/images”>
DAV         ON
Options        None
AuthType    Basic
AuthName    ”Davney File Server”
AuthUserFile    ”/opt/IBM/HTTPServer/conf/user.passwd”
Order allow,deny
Allow from all
<LimitExcept POST GET>
Require valid-user
5. Buat user untuk mengakses DAV, arahkan terminal ke /opt/IBM/HTTPserver/bin/ dan jalankan perintah “./htpasswd -c user.passwd root
6. Isikan password untuk user yang baru dibuat
7. Arahkan terminal ke /opt/IBM/HTTPserver/bin/ dan jalankan “./apachectl restart”

This entry was posted in Cognos and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>