Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: WXP 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
-
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
...
-
oups it was installed ?
I install the RPM :)
Hope it upgrades mod_dav and not broke everything :)
-
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..
-
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
-
[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 ]
-
What about touching the Log and Page files?
This works for all purposes except rename (don't know why yet)
Craig Foster