File tree Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Original file line number Diff line number Diff line change 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
+ ```
You can’t perform that action at this time.
0 commit comments