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
)
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