Koozali.org: home of the SME Server

mod_dav

WXP

mod_dav
« on: October 25, 2001, 11:23:36 PM »
Hey guys,

Anyone tried to install the dav mod on his e-smith box ?

I'm actually running 4.1.2 but I cant make it work and the installation steps are quite easy.. I would even say that a newbie could do it :)

So I must be an idiot or the version of Apache does not work with dav.. ???

Thanx,

Pierrick

Craig Foster

Re: mod_dav
« Reply #1 on: October 27, 2001, 09:31:02 PM »
Huh?

enable mod_dav in your ibay templates and it works stright up...
AddModule mod_perl.c\nAddModule mod_dav.c
DAVLockDB /var/run/DAVLock
and
DAV on
in each ibay / docroot you prefer

Always check to see if somethings installed but not visible by using "rpm -qa | grep mod"
eg results are :-
...
mod_dav
...

WXP

Re: mod_dav
« Reply #2 on: October 27, 2001, 10:45:54 PM »
oups it was installed ?
I install the RPM :)

Hope it upgrades mod_dav and not broke everything :)

WXP

Re: mod_dav
« Reply #3 on: October 27, 2001, 10:53:00 PM »
With AddModule mod_dav.c :

[root@server conf]# service httpd stop
Stopping httpd: ^[ar                                       [   OK   ]
[root@server conf]# service httpd start
Starting httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf:
Cannot add module via name 'mod_dav.c': not in list of loaded modules
                                                           [ FAILED ]


Then I added LoadModule :

Loadmodule dav_module modules/libdav.so
AddModule mod_dav.c
DAVLockDB /var/run/DAVLock

[root@server conf]# service httpd start
Starting httpd: Syntax error on line 212 of /etc/httpd/conf/httpd.conf:
DAVLockDB takes one argument, specify a lock database
                                                           [ FAILED ]


Remove DAVLockDB and put DAV On in an IBay but it's not working dude..

Craig Foster

Re: mod_dav
« Reply #4 on: October 28, 2001, 04:46:29 PM »
LoadModule dav_module modules/libdav.so ## note I missed this last time d'oh!
AddModule mod_dav.c
DAVLockDB /var/run/DAVLock

    AddType application/x-httpd-php .php .php3 .phtml
    AddType application/x-httpd-php-source .phps
    DAV on


Make sure these exist after you "service http-e-smith restart"
-rw-rw----    1 www      www             0 Oct 26 18:52 DAVLock.dir
-rw-rw----    1 www      www             0 Oct 26 18:52 DAVLock.pag

I've added DAV on to all ibays with dynamic content enabled, but not accessable ot the internet, for security reasons. I then use a cronjob to move things around... talk about paranoid :P
It was a while ago, so I may have kludged this, but it does work with Basic Auth under Adobe GoLive.

Sorry I missed that line, coder hat doesn't work well with support hat ^_^

Craig Foster

WXP

Re: mod_dav
« Reply #5 on: October 28, 2001, 07:20:23 PM »
[root@server httpd.conf]# service httpd-e-smith restart
Shutting down http:                                        [   OK   ]
Starting httpd:  Syntax error on line 211 of /etc/httpd/conf/httpd.conf:
DAVLockDB takes one argument, specify a lock database
                                                           [ FAILED ]

Craig Foster

Re: mod_dav
« Reply #6 on: October 31, 2001, 03:24:00 AM »
What about touching the Log and Page files?
This works for all purposes except rename (don't know why yet)

Craig Foster