summaryrefslogtreecommitdiff
path: root/examples/xmlindex.ini
blob: 939eeb77902db10080510038f648f076a89001c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[uwsgi]
plugin = 0:notfound, router_xmldir, xslt
http-socket = :8080

docroot = .
check-static = %(docroot)

route-if = isdir:%(docroot)/${PATH_INFO} goto:index
route-run = last:

route-label = index
; uncomment to link CSS stylesheet /css/default.css
;route-run = toxslt:stylesheet=examples/xmlindex-html.xsl,params=stylesheet=/css/default.css,content_type=text/html
; use embedded CSS
route-run = toxslt:stylesheet=examples/xmlindex-html.xsl,params=stylesheet=,content_type=text/html
route-run = xmldir:%(docroot)/${PATH_INFO}