Skip to content

Commit aa1d260

Browse files
committed
Update docs.
1 parent 40def47 commit aa1d260

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
1-
# mod_dav_displayname
2-
Module that makes the name of a resource or a collection available as the DAV:displayname property
1+
# mod\_dav\_displayname
2+
Module that makes the name of a resource or a collection available as the DAV:displayname property.
3+
4+
Use with the [mod\_dav\_autoindex](https://github.com/minfrin/mod_dav_autoindex) module to provide human readable filenames in the XML output.
5+
6+
## basic configuration
7+
8+
```
9+
# Basic configuration:
10+
<Location />
11+
Dav on
12+
DavDisplayname on
13+
</Location>
14+
```
15+
16+
## example result
17+
18+
```
19+
<?xml version="1.0" encoding="utf-8"?>
20+
<?xml-stylesheet type="text/xsl" href="index.xsl"?>
21+
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
22+
<D:response xmlns:lp1="DAV:">
23+
<D:href>/calendars/The%20Lazy%20Dog.txt</D:href>
24+
<D:propstat>
25+
<D:prop>
26+
<lp1:displayname>The Lazy Dog</lp1:displayname>
27+
</D:prop>
28+
<D:status>HTTP/1.1 200 OK</D:status>
29+
</D:propstat>
30+
</D:response>
31+
</D:multistatus>
32+
```

0 commit comments

Comments
 (0)