26 <li><a href="remove.html">remove</a></li> |
26 <li><a href="remove.html">remove</a></li> |
27 <li><a href="copy.html">copy</a></li> |
27 <li><a href="copy.html">copy</a></li> |
28 <li><a href="move.html">move</a></li> |
28 <li><a href="move.html">move</a></li> |
29 <li><a href="get-property.html">get-property</a></li> |
29 <li><a href="get-property.html">get-property</a></li> |
30 <li><a href="set-property.html">set-property</a></li> |
30 <li><a href="set-property.html">set-property</a></li> |
|
31 <li><a href="remove-property.html">remove-property</a></li> |
31 <li><a href="lock.html">lock</a></li> |
32 <li><a href="lock.html">lock</a></li> |
32 <li><a href="unlock.html">unlock</a></li> |
33 <li><a href="unlock.html">unlock</a></li> |
33 <li><a href="info.html">info</a></li> |
34 <li><a href="info.html">info</a></li> |
34 <li><a href="date.html">date</a></li> |
35 <li><a href="date.html">date</a></li> |
35 <li><a href="add-repository.html">add-repository</a></li> |
36 <li><a href="add-repository.html">add-repository</a></li> |
46 <li><a href="introduction.html">Introduction</a></li> |
47 <li><a href="introduction.html">Introduction</a></li> |
47 <li><a href="sync-commands.html">Commands</a></li> |
48 <li><a href="sync-commands.html">Commands</a></li> |
48 <ul> |
49 <ul> |
49 <li><a href="pull.html">pull</a></li> |
50 <li><a href="pull.html">pull</a></li> |
50 <li><a href="push.html">push</a></li> |
51 <li><a href="push.html">push</a></li> |
|
52 <li><a href="archive.html">archive</a></li> |
51 <li><a href="resolve-conflicts.html">resolve-conflicts</a></li> |
53 <li><a href="resolve-conflicts.html">resolve-conflicts</a></li> |
52 <li><a href="delete-conflicts.html">delete-conflicts</a></li> |
54 <li><a href="delete-conflicts.html">delete-conflicts</a></li> |
53 <li><a href="trash-info.html">trash-info</a></li> |
55 <li><a href="trash-info.html">trash-info</a></li> |
54 <li><a href="empty-trash.html">empty-trash</a></li> |
56 <li><a href="empty-trash.html">empty-trash</a></li> |
55 <li><a href="add-directory.html">add-directory</a></li> |
57 <li><a href="add-directory.html">add-directory</a></li> |
66 <div class="content"> |
68 <div class="content"> |
67 <div id="header"> |
69 <div id="header"> |
68 <h1 class="title">Configuration</h1> |
70 <h1 class="title">Configuration</h1> |
69 </div> |
71 </div> |
70 <p>The main configuration file for <em>dav</em> is <code>$HOME/.dav/config.xml</code> and is used for configuring repositories, proxies and encryption keys. This configuration is also used by <em>dav-sync</em>. The file is created automaticaly if it doesn't exist.</p> |
72 <p>The main configuration file for <em>dav</em> is <code>$HOME/.dav/config.xml</code> and is used for configuring repositories, proxies and encryption keys. This configuration is also used by <em>dav-sync</em>. The file is created automaticaly if it doesn't exist.</p> |
71 <p>The <em>config.xml</em> file is an XML file with <code><configuration></code> as root element. The <code><configuration></code> element can have the following child elements: <code><repository></code>, <code><http-proxy></code>, <code><https-proxy></code>, <code><key></code></p> |
73 <p>The <em>config.xml</em> file is an XML file with <code><configuration></code> as root element. The <code><configuration></code> element can have the following child elements: <code><repository></code>, <code><http-proxy></code>, <code><https-proxy></code>, <code><key></code>, <code><namespace></code></p> |
72 <h2 id="repository">repository</h2> |
74 <h2 id="repository">repository</h2> |
73 <p>This element is used to configure a repository. A repository must have a unique name to identify the repository and a url pointing to the root collection for this repository.</p> |
75 <p>This element is used to configure a repository. A repository must have a unique name to identify the repository and a url pointing to the root collection for this repository.</p> |
74 <p>Required child elements: <code><name></code>, <code><url></code><br /> |
76 <p>Required child elements: <code><name></code>, <code><url></code><br /> |
75 Optional elements: <code><user></code>, <code><password></code>, <code><default-key></code>, <code><full-encryption></code>, <code><content-encryption></code>, <code><decrypt-content></code>, <code><decrypt-name></code>, <code><cert></code>, <code><verification></code>, <code><ssl-version></code>, <code><authmethods></code></p> |
77 Optional elements: <code><user></code>, <code><password></code>, <code><default-key></code>, <code><full-encryption></code>, <code><content-encryption></code>, <code><decrypt-content></code>, <code><decrypt-name></code>, <code><cert></code>, <code><verification></code>, <code><ssl-version></code>, <code><authmethods></code></p> |
76 <h3 id="name">name</h3> |
78 <h3 id="name">name</h3> |
167 Example: <code><password>MTIzNDU2Nzg=</password></code></p> |
169 Example: <code><password>MTIzNDU2Nzg=</password></code></p> |
168 <h3 id="no">no</h3> |
170 <h3 id="no">no</h3> |
169 <p>A comma separated list of all hosts that should not be accessed through the proxy.</p> |
171 <p>A comma separated list of all hosts that should not be accessed through the proxy.</p> |
170 <p>Type: string<br /> |
172 <p>Type: string<br /> |
171 Example: <code><no>host1, host2, host3</no></code></p> |
173 Example: <code><no>host1, host2, host3</no></code></p> |
|
174 <h2 id="namespace">namespace</h2> |
|
175 <p>Configures an XML-namespace with prefix and uri. The prefix can be used with commands like <code>get-property</code>. The element must have the <code>prefix</code> and the <code>uri</code> attribute.</p> |
|
176 <p>Type: no value Example: <code><namespace prefix="e" uri="http://example.com/" /></code></p> |
172 <h2 id="example-1-minimal-repository-configuration">Example 1: minimal repository configuration</h2> |
177 <h2 id="example-1-minimal-repository-configuration">Example 1: minimal repository configuration</h2> |
173 <p>A minimal configuration for a repository. If no user and/or password are configured, dav prompts for authentication informations if required.</p> |
178 <p>A minimal configuration for a repository. If no user and/or password are configured, dav prompts for authentication informations if required.</p> |
174 <pre><code><configuration> |
179 <pre><code><configuration> |
175 <repository> |
180 <repository> |
176 <name>myrepo</name> |
181 <name>myrepo</name> |