From MAILER-DAEMON Wed Sep 15 06:33:19 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OvpIk-0002zN-NC
	for mharc-myserver-commit@gnu.org; Wed, 15 Sep 2010 06:33:18 -0400
Received: from [140.186.70.92] (port=60155 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OvpIh-0002xK-4j
	for myserver-commit@gnu.org; Wed, 15 Sep 2010 06:33:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OvpId-00020Y-Td
	for myserver-commit@gnu.org; Wed, 15 Sep 2010 06:33:13 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:34094
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OvpId-00020U-SD
	for myserver-commit@gnu.org; Wed, 15 Sep 2010 06:33:11 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OvpId-0005xE-T8
	for myserver-commit@gnu.org; Wed, 15 Sep 2010 10:33:11 +0000
Received: from gscrivano by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <gscrivano@savannah.gnu.org>)
	id 1OvpIX-00062m-EX
	for myserver-commit@gnu.org; Wed, 15 Sep 2010 10:33:11 +0000
To: myserver-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: f9eafc6c5ea79ad6804f16de5b0fcd37cefc6d1d
X-Git-Newrev: 37dacc479b8e07a31589010168906b0128793f1c
Message-Id: <E1OvpIX-00062m-EX@vcs-noshell.in.savannah.gnu.org>
From: Giuseppe Scrivano <gscrivano@gnu.org>
Date: Wed, 15 Sep 2010 10:33:10 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [myserver-commit] [SCM] GNU MyServer branch, master,
	updated. v0.9.2-390-g37dacc4
X-BeenThere: myserver-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: myserver-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/myserver-commit>,
	<mailto:myserver-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/myserver-commit>
List-Post: <mailto:myserver-commit@gnu.org>
List-Help: <mailto:myserver-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/myserver-commit>,
	<mailto:myserver-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2010 10:33:17 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".

The branch, master has been updated
       via  37dacc479b8e07a31589010168906b0128793f1c (commit)
      from  f9eafc6c5ea79ad6804f16de5b0fcd37cefc6d1d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------


commit 37dacc479b8e07a31589010168906b0128793f1c
Author: Giuseppe Scrivano <gscrivano@gnu.org>
Date:   Wed Sep 15 12:30:36 2010 +0200

    Fix problem with HTTP Basic authentication header parsing.

diff --git a/myserver/src/protocol/http/http_headers.cpp b/myserver/src/protocol/http/http_headers.cpp
index 4b27bff..9d00073 100644
--- a/myserver/src/protocol/http/http_headers.cpp
+++ b/myserver/src/protocol/http/http_headers.cpp
@@ -725,8 +725,8 @@ int HttpHeaders::readReqAuthLine (HttpRequestHeader *request,
       const char *tmp = base64 + len - 1;
       const char* decodedPw;
       const char* decodedPwBuf;
-      char login[32];
-      char password[32];
+      char login[65];
+      char password[65];
       CBase64Utils base64Utils;
 
       if (len == -1)
@@ -734,26 +734,20 @@ int HttpHeaders::readReqAuthLine (HttpRequestHeader *request,
 
       login[0] = password[0] = '\0';
 
-      while (len > 0 && (*tmp == '\r' || *tmp == '\n'))
+      decodedPwBuf = decodedPw = base64Utils.decode (base64, &len);
+
+      for (i = 0; *decodedPw != ':'; i++)
         {
-          tmp--;
+          login[i] = *decodedPw++;
           len--;
         }
-      if (len <= 1)
-        return 400;
-
-      decodedPwBuf = decodedPw = base64Utils.decode (base64, &len);
-
-      for (i = 0; (*decodedPw != ':') && (i < 32);i++)
-        login[i] = *decodedPw++;
-
       login[i] = '\0';
 
       decodedPw++;
-      for (i = 0; (*decodedPw) && (i < 31); i++)
-        password[i] = *decodedPw++;
 
-      password[i] = '\0';
+      memcpy (password, decodedPw, len - 1);
+      password[len - 1] = '\0';
+
       connection->setLogin (login);
       connection->setPassword (password);
       delete [] decodedPwBuf;
diff --git a/myserver/tests/test_http_request.cpp b/myserver/tests/test_http_request.cpp
index bf17484..6ea606c 100644
--- a/myserver/tests/test_http_request.cpp
+++ b/myserver/tests/test_http_request.cpp
@@ -254,6 +254,9 @@ public:
                                                     &requestLength,
                                                     &header,
                                                     &connection);
+
+    CPPUNIT_ASSERT_EQUAL (strcmp ("user", connection.getLogin ()), 0);
+    CPPUNIT_ASSERT_EQUAL (strcmp ("freedom", connection.getPassword ()), 0);
     CPPUNIT_ASSERT (ret == 200);
   }
 

-----------------------------------------------------------------------

Summary of changes:
 myserver/src/protocol/http/http_headers.cpp |   24 +++++++++---------------
 myserver/tests/test_http_request.cpp        |    3 +++
 2 files changed, 12 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
GNU MyServer


From MAILER-DAEMON Thu Sep 16 14:25:56 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OwJ9f-0002Uv-OO
	for mharc-myserver-commit@gnu.org; Thu, 16 Sep 2010 14:25:55 -0400
Received: from [140.186.70.92] (port=35476 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OwIDf-0001A5-J1
	for myserver-commit@gnu.org; Thu, 16 Sep 2010 13:26:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OwI2c-0002QA-G8
	for myserver-commit@gnu.org; Thu, 16 Sep 2010 13:14:35 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:49024
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OwI2c-0002Q4-Ej
	for myserver-commit@gnu.org; Thu, 16 Sep 2010 13:14:34 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OwI2c-0004Sy-7h
	for myserver-commit@gnu.org; Thu, 16 Sep 2010 17:14:34 +0000
Received: from gscrivano by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <gscrivano@savannah.gnu.org>)
	id 1OwI2Y-00012U-4W
	for myserver-commit@gnu.org; Thu, 16 Sep 2010 17:14:34 +0000
To: myserver-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 37dacc479b8e07a31589010168906b0128793f1c
X-Git-Newrev: e72bdbd21437c07db04f862f61c147d2a03fcf8f
Message-Id: <E1OwI2Y-00012U-4W@vcs-noshell.in.savannah.gnu.org>
From: Giuseppe Scrivano <gscrivano@gnu.org>
Date: Thu, 16 Sep 2010 17:14:34 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [myserver-commit] [SCM] GNU MyServer branch, master,
	updated. v0.9.2-392-ge72bdbd
X-BeenThere: myserver-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: myserver-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/myserver-commit>,
	<mailto:myserver-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/myserver-commit>
List-Post: <mailto:myserver-commit@gnu.org>
List-Help: <mailto:myserver-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/myserver-commit>,
	<mailto:myserver-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 18:25:54 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".

The branch, master has been updated
       via  e72bdbd21437c07db04f862f61c147d2a03fcf8f (commit)
       via  2b9e16d4a14998588122512481d054caf847c1f4 (commit)
      from  37dacc479b8e07a31589010168906b0128793f1c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------


commit e72bdbd21437c07db04f862f61c147d2a03fcf8f
Author: Giuseppe Scrivano <gscrivano@gnu.org>
Date:   Thu Sep 16 19:13:54 2010 +0200

    Fix HTTP digest authentication when some values are not used.

diff --git a/myserver/src/protocol/http/http.cpp b/myserver/src/protocol/http/http.cpp
index c2f6838..27d4229 100644
--- a/myserver/src/protocol/http/http.cpp
+++ b/myserver/src/protocol/http/http.cpp
@@ -566,7 +566,7 @@ u_long Http::checkDigest ()
     return 0;
 
   digestCount = hexToInt (td->request.digestNc);
-  if (digestCount != hud->nc + 1)
+  if (digestCount && digestCount != hud->nc + 1)
     return 0;
   else
     hud->nc++;
@@ -610,11 +610,16 @@ u_long Http::checkDigest ()
 
   md5.init ();
   td->auxiliaryBuffer->setLength (0);
+
   *td->auxiliaryBuffer << A1 << ":"
                        << hud->nonce << ":"
-                       << td->request.digestNc << ":"
-                       << td->request.digestCnonce << ":"
-                       << td->request.digestQop << ":" << A2;
+                       << td->request.digestNc
+                       << (td->request.digestNc[0] ? ":" : "")
+                       << td->request.digestCnonce
+                       << (td->request.digestCnonce[0] ? ":" : "")
+                       << td->request.digestQop
+                       << (td->request.digestQop[0] ? ":" : "")
+                       << A2;
   md5.update (*td->auxiliaryBuffer);
   md5.end (response);
 



commit 2b9e16d4a14998588122512481d054caf847c1f4
Author: Giuseppe Scrivano <gscrivano@gnu.org>
Date:   Thu Sep 16 17:39:31 2010 +0200

    Fix segfault when creating listener sockets

diff --git a/myserver/src/connections_scheduler/listen_threads.cpp b/myserver/src/connections_scheduler/listen_threads.cpp
index b8a8d9b..9f3b9ed 100644
--- a/myserver/src/connections_scheduler/listen_threads.cpp
+++ b/myserver/src/connections_scheduler/listen_threads.cpp
@@ -102,7 +102,7 @@ int ListenThreads::createServerAndListener (u_short port)
   catch (exception & e)
     {
       server->log (MYSERVER_LOG_MSG_ERROR,
-                   _E ("Error while creating the server socket : %e"), &e);
+                   _E ("Error while creating the server socket"), &e);
       delete serverSocketIPv4;
       serverSocketIPv4 = NULL;
     }
@@ -133,7 +133,7 @@ int ListenThreads::createServerAndListener (u_short port)
   catch (exception & e)
     {
       server->log (MYSERVER_LOG_MSG_ERROR,
-                   _("Error while creating the IPv6 server socket : %e"), &e);
+                   _("Error while creating the IPv6 server socket"), &e);
       delete serverSocketIPv6;
       serverSocketIPv6 = NULL;
     }

-----------------------------------------------------------------------

Summary of changes:
 .../src/connections_scheduler/listen_threads.cpp   |    4 ++--
 myserver/src/protocol/http/http.cpp                |   13 +++++++++----
 2 files changed, 11 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
GNU MyServer


From MAILER-DAEMON Sun Sep 19 11:23:11 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OxLjT-0005Yx-Dt
	for mharc-myserver-commit@gnu.org; Sun, 19 Sep 2010 11:23:11 -0400
Received: from [140.186.70.92] (port=58703 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OxLjQ-0005Ys-PS
	for myserver-commit@gnu.org; Sun, 19 Sep 2010 11:23:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OxLjO-0002ia-Sj
	for myserver-commit@gnu.org; Sun, 19 Sep 2010 11:23:08 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:38631
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OxLjO-0002iU-RM
	for myserver-commit@gnu.org; Sun, 19 Sep 2010 11:23:06 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OxLjO-0006PX-M6
	for myserver-commit@gnu.org; Sun, 19 Sep 2010 15:23:06 +0000
Received: from gscrivano by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <gscrivano@savannah.gnu.org>)
	id 1OxLjO-0003cU-IM
	for myserver-commit@gnu.org; Sun, 19 Sep 2010 15:23:06 +0000
To: myserver-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e72bdbd21437c07db04f862f61c147d2a03fcf8f
X-Git-Newrev: f9da260ed7cc989c7a6552406c7632be3fba5f59
Message-Id: <E1OxLjO-0003cU-IM@vcs-noshell.in.savannah.gnu.org>
From: Giuseppe Scrivano <gscrivano@gnu.org>
Date: Sun, 19 Sep 2010 15:23:06 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [myserver-commit] [SCM] GNU MyServer branch, master,
	updated. v0.9.2-393-gf9da260
X-BeenThere: myserver-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: myserver-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/myserver-commit>,
	<mailto:myserver-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/myserver-commit>
List-Post: <mailto:myserver-commit@gnu.org>
List-Help: <mailto:myserver-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/myserver-commit>,
	<mailto:myserver-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Sep 2010 15:23:10 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".

The branch, master has been updated
       via  f9da260ed7cc989c7a6552406c7632be3fba5f59 (commit)
      from  e72bdbd21437c07db04f862f61c147d2a03fcf8f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------


commit f9da260ed7cc989c7a6552406c7632be3fba5f59
Author: Giuseppe Scrivano <gscrivano@gnu.org>
Date:   Sun Sep 19 17:24:28 2010 +0200

    autogen.sh: Remove file.

diff --git a/myserver/autogen.sh b/myserver/autogen.sh
deleted file mode 100755
index 2a33016..0000000
--- a/myserver/autogen.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-# MyServer
-#
-# http://www.myserverproject.net
-#
-# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-
-#echo "Creating configuration files for MyServer. Please wait..."
-#autoreconf -fis
-
-echo "Please use ./bootstrap"

-----------------------------------------------------------------------

Summary of changes:
 myserver/autogen.sh |   24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)
 delete mode 100755 myserver/autogen.sh


hooks/post-receive
-- 
GNU MyServer


From MAILER-DAEMON Sun Sep 26 12:11:46 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OztpK-00020u-87
	for mharc-myserver-commit@gnu.org; Sun, 26 Sep 2010 12:11:46 -0400
Received: from [140.186.70.92] (port=46730 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OztpG-0001z2-R0
	for myserver-commit@gnu.org; Sun, 26 Sep 2010 12:11:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OztpF-0001At-61
	for myserver-commit@gnu.org; Sun, 26 Sep 2010 12:11:42 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:49343
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OztpF-0001Ap-4U
	for myserver-commit@gnu.org; Sun, 26 Sep 2010 12:11:41 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gscrivano@gnu.org>) id 1OztpE-0003f4-Nq
	for myserver-commit@gnu.org; Sun, 26 Sep 2010 16:11:40 +0000
Received: from gscrivano by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <gscrivano@savannah.gnu.org>)
	id 1Oztp8-0006j8-7K
	for myserver-commit@gnu.org; Sun, 26 Sep 2010 16:11:40 +0000
To: myserver-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: f9da260ed7cc989c7a6552406c7632be3fba5f59
X-Git-Newrev: f6ed0ddacbad5414391d86b8aec42576a339d813
Message-Id: <E1Oztp8-0006j8-7K@vcs-noshell.in.savannah.gnu.org>
From: Giuseppe Scrivano <gscrivano@gnu.org>
Date: Sun, 26 Sep 2010 16:11:38 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [myserver-commit] [SCM] GNU MyServer branch, master,
	updated. v0.9.2-396-gf6ed0dd
X-BeenThere: myserver-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: myserver-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/myserver-commit>,
	<mailto:myserver-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/myserver-commit>
List-Post: <mailto:myserver-commit@gnu.org>
List-Help: <mailto:myserver-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/myserver-commit>,
	<mailto:myserver-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 26 Sep 2010 16:11:44 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".

The branch, master has been updated
       via  f6ed0ddacbad5414391d86b8aec42576a339d813 (commit)
       via  a86e17d8fc0decef9bfab4debaac8efef62a17d4 (commit)
       via  a8b6b709bb75a3f6dcc8752d6c5d901d49756c2c (commit)
      from  f9da260ed7cc989c7a6552406c7632be3fba5f59 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------


commit f6ed0ddacbad5414391d86b8aec42576a339d813
Merge: a86e17d f9da260
Author: Giuseppe Scrivano <gscrivano@gnu.org>
Date:   Sun Sep 26 18:05:37 2010 +0200

    Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/myserver




commit a86e17d8fc0decef9bfab4debaac8efef62a17d4
Author: Giuseppe Scrivano <gscrivano@gnu.org>
Date:   Sun Sep 26 18:02:15 2010 +0200

    Force gnulib to use libtool.

diff --git a/myserver/bootstrap.conf b/myserver/bootstrap.conf
index e72cd84..7dcab8d 100644
--- a/myserver/bootstrap.conf
+++ b/myserver/bootstrap.conf
@@ -18,7 +18,7 @@
 # 02110-1301, USA.
 
 gnulib_name=libgnu
-gnulib_tool_option_extras=
+gnulib_tool_option_extras=--libtool
 
 checkout_only_file=
 



commit a8b6b709bb75a3f6dcc8752d6c5d901d49756c2c
Author: Rupinder Singh <rupinder.singh@nsitonline.in>
Date:   Sat Sep 25 13:07:47 2010 +0530

    Add documentation for WebDAV.

diff --git a/myserver/documentation/Makefile.am b/myserver/documentation/Makefile.am
index 8081b1a..71271ee 100644
--- a/myserver/documentation/Makefile.am
+++ b/myserver/documentation/Makefile.am
@@ -20,10 +20,11 @@ info_TEXINFOS=myserver.texi
 myserver_TEXINFOS = basic_configuration.texi \
 		    directory_listing.texi \
 		    doclicense.texi \
-	            error_pages.texi \
+	      error_pages.texi \
 		    log_management.texi \
-	            mime_types.texi \
-	            process_security.texi \
-	            security.texi \
-	            ssl_certificates.texi \
-	            virtual_hosts.texi
+	      mime_types.texi \
+	      process_security.texi \
+	      security.texi \
+	      ssl_certificates.texi \
+	    	virtual_hosts.texi \
+				webdav.texi
diff --git a/myserver/documentation/myserver.texi b/myserver/documentation/myserver.texi
index 24b3843..dc32e67 100644
--- a/myserver/documentation/myserver.texi
+++ b/myserver/documentation/myserver.texi
@@ -85,6 +85,7 @@ SCGI and FastCGI protocols.
 * MIME types:: MIME types configuration.
 * Process security:: Process security.
 * Security files:: Describe how to use security files.
+* WebDAV:: Information on using WebDAV commands.
 * SSL certificates:: Show how to use SSL certificates.
 * Error pages:: How configure error pages.
 * Directory listing:: Show how directories are handled.
@@ -113,12 +114,17 @@ SCGI and FastCGI protocols.
 @cindex Process security
 @include process_security.texi
 
-@node Security files, Error pages, Process security, Top
+@node Security files, WebDAV, Process security, Top
 @chapter Process security
 @cindex Process security
 @include security.texi
 
-@node Error pages, Directory listing, Security files, Top
+@node WebDAV, Error pages, Security files, Top
+@chapter WebDAV
+@cindex WebDAV
+@include webdav.texi
+
+@node Error pages, Directory listing, WebDAV, Top
 @chapter Error pages
 @cindex Error pages
 @include error_pages.texi
diff --git a/myserver/documentation/webdav.texi b/myserver/documentation/webdav.texi
new file mode 100644
index 0000000..2b42545
--- /dev/null
+++ b/myserver/documentation/webdav.texi
@@ -0,0 +1,112 @@
+@c -*-texinfo-*-
+@c GNU MyServer
+@c
+@c Copyright (C) 2002-2010 Free Software Foundation, Inc.
+@c
+@c This program is free software; you can redistribute it and/or modify
+@c it under the terms of the GNU General Public License as published by
+@c the Free Software Foundation; either version 3 of the License, or
+@c (at your option) any later version.
+@c
+@c This program is distributed in the hope that it will be useful,
+@c but WITHOUT ANY WARRANTY; without even the implied warranty of
+@c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+@c GNU General Public License for more details.
+@c
+@c You should have received a copy of the GNU General Public License
+@c along with this program.  If not, see <http://www.gnu.org/licenses/>.
+WebDAV stands for Web-based Distributed Authoring and Versioning.
+It is a set of HTTP based methods used for collaborative management of
+files and directories on a remote server.
+GNU MyServer is WebDAV compliant; that said, you can use a webdav
+client to manage your data on the server.
+
+As a first step, you must enable webdav. To do that, set the value of
+``http.webdav.enable'' in @file{myserver.xml} file as ``YES'':
+
+@example
+<DEFINE name="http.webdav.enable" value="YES"/>
+@end example
+
+@section Commands.
+While the exact syntax to execute various webdav functions maybe
+client dependant, the basic implementation remains the same.
+Some of the webdav commands that myserver supports are:
+
+COPY
+Copies a resource from source to destination. The possible
+status codes returned are:
+503 - Service Unavailable
+423 - Locked
+412 - Precondition Failed
+409 - Conflict
+201 - Created
+
+@example
+COPY source dest
+@end example
+
+MOVE
+Moves a resource from source to destination. The possible
+status codes returned are:
+503 - Service Unavailable
+423 - Locked
+412 - Precondition Failed
+409 - Conflict
+201 - Created
+
+@example
+MOVE source dest
+@end example
+
+DELETE
+Deletes a resource, given its path. The possible
+status codes returned are:
+503 - Service Unavailable
+423 - Locked
+403 - Forbidden
+202 - Accepted
+
+@example
+DELETE path_to_resource
+@end example
+
+LOCK
+Locks a resource. The possible status codes
+returned are:
+503 - Service Unavailable
+409 - Conflict
+500 - Internal Server Error
+
+@example
+LOCK path_to_resource
+@end example
+
+UNLOCK
+Unlocks a resource. The possible status codes
+returned are:
+503 - Service Unavailable
+
+@example
+UNLOCK path_to_resource
+@end example
+
+MKCOL
+Creates a collection. The possible status codes
+returned are:
+503 - Service Unavailable
+423 - Locked
+412 - Precondition Failed
+409 - Conflict
+403 - Forbidden
+201 - Created
+500 - Internal Server Error
+
+@example
+MKCOL name_of_collection
+@end example
+
+
+@section Note.
+Certain commands such as DELETE and MOVE require certain privileges.
+Please see the Security section for more details.

-----------------------------------------------------------------------

Summary of changes:
 myserver/bootstrap.conf              |    2 +-
 myserver/documentation/Makefile.am   |   13 ++--
 myserver/documentation/myserver.texi |   10 +++-
 myserver/documentation/webdav.texi   |  112 ++++++++++++++++++++++++++++++++++
 4 files changed, 128 insertions(+), 9 deletions(-)
 create mode 100644 myserver/documentation/webdav.texi


hooks/post-receive
-- 
GNU MyServer


