NB: Making apache into webdav server

This is a discussion on NB: Making apache into webdav server within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I am probably a really clueless newbie, but I have a problem to make Apache 1.3.26 (on ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-12-2004
Matej Cepl
 
Posts: n/a
Default NB: Making apache into webdav server

Hi,

I am probably a really clueless newbie, but I have a problem to make Apache
1.3.26 (on Debian/woody) working as a WebDAV server (so far a testing
installation on my home server).

I have installed apache, apache-doc, libapache-mod-dav and cadaver (all
standard packages from debian/stable) and I have created a
simple /etc/httpd.conf (viz. see attached diff; BTW does anybody know what
is the correct value of MIMEMagicFile in Debian, the current share/magic
gives me an error on startup of Apache -- but I do not think, that it
should be related to my problems?), I run apacheconfig, and created the
dav/ directory in /var/www/ (which is DocumentRoot on Debian):

mitmanek:matej$ ls -l /var/www/
total 12
drwxr-xr-x****2*www-data*www-data*****4096*pro*11*00:56*dav
-rw-r--r--****1*root*****root*********4110*lis*12*12:07*inde x.html
mitmanek:matej$

and these files in /etc/apache

mitmanek:matej$ ls -l /etc/apache/
total 216
-rw-r--r--****1*root*****root**********285*pro*10*21:00*acce ss.conf
lrwxrwxrwx****1*root*****root************1*pro*10* 21:00*conf*->*.
-rw-r--r--****1*root*****root********35579*pro*11*02:21*http d.conf
-rw-r--r--****1*root*****root********12554*pro*10*21:00*http d.conf.8.gz
lrwxrwxrwx****1*root*****root***********13*pro*10* 21:00*mime.types*\
->*../mime.types
-rw-r-----****1*root*****www-data*******42*pro*11*02:06*passwd.dav
-rw-r--r--****1*root*****root**********297*pro*11*01:10*srm. conf
-rw-r--r--****1*root*****root**********297*pro*10*21:00*srm. conf.0
mitmanek:matej$

(passwd.dav was created with htpasswd and when I look into it, there is my
login and something encrypted as my password, so it should be OK; I hope).

However, when I try to connect to the WebDAV directory with cadaver (or
webdav://mitmanek/dav/ in konqueror; these are from Debian/testing) I get
an error:

blahoslav:matej$ cadaver http://mitmanek/dav/
Authentication required for DAV Restricted on server `mitmanek':
Username: matej
Password:
Could not access dav (not WebDAV-enabled?):
404 Not Found
Connection to `mitmanek' closed.
dav:!>
blahoslav:matej$

I am quite sure, that the password is correct (I have tried all these things
many times, so there should not be a problem of not restarting apache or
something like that).

No amount of googling make any more enlightened than I am (and I feel really
unenlightened currently :-). Do you have any idea, what's wrong with me,
please?

Thanks for any kick into the right direction,

Matej

--
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

We are told that [St. Anthony] once fell into dejection, finding
uninterrupted contemplation above his strength; but was taught to
apply himself at intervals to manual labour by a vision of an
angel who appeared platting mats of palm-tree leaves, then rising
to pray, and after some time sitting down again to work; and who
at length said to him, "Do thus, and thou shalt be saved."
-- Life of St. Anthony
  #2 (permalink)  
Old 12-12-2004
HansH
 
Posts: n/a
Default Re: Making apache into webdav server

"Matej Cepl" <cepl@surfbest.net> schreef in bericht
news:20056057.GnlFUtBJ2v@blahoslav.ceplovi.cz...
> BTW does anybody know what
> is the correct value of MIMEMagicFile in Debian, the current share/magic
> gives me an error on startup of Apache --

Try /usr/lib/apache/1.3/040mod_mime_magic.info

> 404 Not Found
> Connection to `mitmanek' closed.
> dav:!>
> blahoslav:matej$

Is the folder /var/lock/DAV/DAVLock available with proper rights?
Why aliassing /dav to where it is already: /var/www/dav/?
http://www.webdav.org/mod_dav/faq/#02-02 has a sample config

HansH


  #3 (permalink)  
Old 12-13-2004
Matej Cepl
 
Posts: n/a
Default Re: Making apache into webdav server

HansH wrote:
> Is the folder /var/lock/DAV/DAVLock available with proper rights?


This might be the problem -- I originally made it a file not a folder. I
then played with it a little bit more and I have made it work with cadaver.
Unfortunately, it doesn't work with konqueror (trying
"webdav://server/dav"), but I guess it should into KDE NG now.

Thanks a lot,

Matej

--
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

He had delusions of adequacy.
-- Walter Kerr


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0