control_addr: "127.0.0.1:8459"
reqlog:
"requests":
file: ".01-be.requests.log"
bufsize: 10
http:
":8450":
routes:
"/dir/":
dir: "testdata/dir"
diropts:
listing:
"/": true
"/withindex/": false
"/withoutindex/": false
exclude: ["/ignored\\..*"]
"/authdir/":
dir: "testdata/dir"
"/writable/":
dir: ".writedir"
diropts:
listing:
"/": true
exclude: ["/secret\\..*"]
put:
"/": true
"/readonly/": false
delete:
"/": true
"/peruser/":
dir: ".peruserdir"
diropts:
listing:
"/": true
put:
"/": true
delete:
"/": true
per_user: true
"/file":
file: "testdata/file"
"/file/second":
file: "testdata/dir/ñaca"
"/cgi/":
cgi: ["testdata/cgi.sh", "param 1", "param 2"]
"/status/543":
status: 543
"/slow/10ms":
cgi: ["testdata/sleep.sh", "0.01"]
"/slow/100ms":
cgi: ["testdata/sleep.sh", "0.1"]
"/slow/500ms":
cgi: ["testdata/sleep.sh", "0.5"]
auth:
"/authdir/ñaca": "testdata/authdb.yaml"
"/authdir/withoutindex/": "testdata/authdb.yaml"
"/peruser/": "testdata/authdb.yaml"
setheader:
"/file":
"X-My-Header": "my lovely header"
reqlog:
"/": requests