webdav configuration

Alles, was den Apache betrifft, kann hier besprochen werden.

webdav configuration

Postby kamalbctg » 16. April 2009 13:22

hello
I am new to webdav. i am trying to configure webdav on ubuntu 8.10. I tried a lots to configuration it with the information so far I found on the web. Can any help me to configure apache webDAV with simple authentication?

Please reply if any one can help me!
kamalbctg
 
Posts: 3
Joined: 16. April 2009 13:11

Re: webdav configuration

Postby Nobbie » 16. April 2009 14:34

Nobbie
 
Posts: 8769
Joined: 09. March 2008 13:04

Re: webdav configuration

Postby kamalbctg » 18. April 2009 07:26

My configuration is not working because dav module is not enabled in my machine. for your information i am doing every thing manually did not use apt repository. to enable webdav try with following commands :
#a2enmod dav
but i am getting:
ERROR: Module dav does not exist!

then i google for it and found that! i might have to install
liblibapache-mod-dav/libapatche2-mod-dav (may be there is no such thing in this world :mrgreen: )
My installation steps :
# ./configure --prefix=/home/java1/apache2 --enable-dav --enable-dav-fs --enable-auth_digest --enable-dav_lock --enable-ssl
#make
#make install

then try to see which module are enabled with
#apache2ctl -l
but getting

Compiled in modules:
core.c
mod_log_config.c
mod_logio.c
worker.c
http_core.c
mod_so.c
---------------------------------------------------
refesh bash and again try to see what is the result of #apache2ctl -l
but same thing :-(

------------------------------------------------------
Here is other steps i did for http.conf
-----------------------------------------------------------
create two direcrctory DAVLock for DavLockDB and DAVshares for files
and use
#chown www-data:www-data ->to be writable by the web serve
#htpasswd ->coz i am suing simple authentication

and finally
## Location of the DavLock file

DavLockDB /usr/share/apache2/var/DavLock


<Directory "/var/www/myWebDAV">
Dav On
AuthName "WebDAV Login"
AuthType Basic
AuthUserFile /etc/apache2/.htpasswd
## Limit access for enhanced security
<LimitExcept GET HEAD OPTIONS POST>
require valid-user
</LimitExcept>
Order allow,deny
Allow from all
</Directory>


i hope :-) i am not missing any thing..................... please help

May be I am not the first guy in this world :idea:
Last edited by kamalbctg on 21. April 2009 07:59, edited 3 times in total.
kamalbctg
 
Posts: 3
Joined: 16. April 2009 13:11

Re: webdav configuration

Postby Nobbie » 18. April 2009 12:35

I dont use Apache from Ubuntu, i installed Xampp instead (you are in Xampp Forum here!). Xampp has module mod_dav.so and mod_dav_fs.so already included. So you also should install Xampp instead of Ubuntu Apache (or whatever you have installed).
Nobbie
 
Posts: 8769
Joined: 09. March 2008 13:04

Re: webdav configuration

Postby kamalbctg » 19. April 2009 05:09

i know that :-), thank you.
kamalbctg
 
Posts: 3
Joined: 16. April 2009 13:11


Return to Apache

Who is online

Users browsing this forum: No registered users and 3 guests