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