A number of people have come across a problem where mod_dav shows the
contents of the filesystem root:

  http://dav.lyra.org/pipermail/dav-dev/2001-June/002487.html

I have also come across this problem, and narrowed it down (at least for me)
to a conflict with mod_perl.

I have no other non-core modules installed, no DSO install, and the
out-of-the-box httpd.conf. If I just install mod_dav and add the mimimal
httpd.conf lines for mod_dav, everything works perfectly:

DAVLockDB /usr/local/apache/DAVLock/DAVLock
DAVMinTimeout 600
DAVDepthInfinity On

<Directory /usr/local/apache/htdocs/DAVdocs>
DAV On
</Directory>

Now I delete everything and untar it all again, and repeat the exact same
process but install mod_perl as well after mod_dav with:

cd ../mod_perl-1.25
perl Makefile.PL DO_HTTPD=1 EVERYTHING=1 APACHE_SRC=../apache_1.3.20
USE_APACI=1 PREP_HTTPD=1
make test
make install

cd ../apache_1.3.20
SSLBASE=../openssl-0.9.6a ./configure --prefix=/usr/local/apache \
--enable-module=most --disable-module=auth_dbm --disable-module=digest --ena
ble-module=auth_digest \
--activate-module=src/modules/perl/libperl.a \
--activate-module=src/modules/dav/libdav.a
make
make install

Now I get the problem of seeing the filesystem root when using DAV. This
problem occurs with both a cadaver 'ls' and with MS Web Folders. The
httpd.conf file is identical to when it worked fine (ie without mod_perl),
and it contains no <IfModule mod_perl.c> sections.

Any suggestions/workarounds/patches? Anyone using mod_perl + mod_dav
successfully? What versions?


Reply via email to