etc: Use xset to pass content-type to sendfile.
[ashd.git] / etc / ashd / dirplex.d / send.rc
CommitLineData
660cfa0d
FT
1fchild send
2 exec sendfile
3
a9330556
FT
4match
5 filename *.html
660cfa0d
FT
6 xset content-type text/html
7 handler send
a9330556
FT
8match
9 filename *.css
660cfa0d
FT
10 xset content-type text/css
11 handler send
c6df3d36
FT
12match
13 filename *.txt
660cfa0d
FT
14 xset content-type text/plain
15 handler send
16match
17 filename *.js
18 xset content-type text/javascript
19 handler send
a9330556
FT
20
21# Image types
22match
23 filename *.gif
660cfa0d
FT
24 xset content-type image/gif
25 handler send
a9330556
FT
26match
27 filename *.png
660cfa0d
FT
28 xset content-type image/png
29 handler send
a9330556
FT
30match
31 filename *.jpg *.jpeg
660cfa0d
FT
32 xset content-type image/jpeg
33 handler send