Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: Added bufio replacement for stdio.
[ashd.git]
/
etc
/
ashd
/
dirplex.d
/
send.rc
diff --git
a/etc/ashd/dirplex.d/send.rc
b/etc/ashd/dirplex.d/send.rc
index
5e00547
..
ae540a2
100644
(file)
--- a/
etc/ashd/dirplex.d/send.rc
+++ b/
etc/ashd/dirplex.d/send.rc
@@
-1,17
+1,33
@@
+fchild send
+ exec sendfile
+
match
filename *.html
match
filename *.html
- fork sendfile -c text/html
+ xset content-type text/html
+ handler send
match
filename *.css
match
filename *.css
- fork sendfile -c text/css
+ xset content-type text/css
+ handler send
+match
+ filename *.txt
+ xset content-type text/plain
+ handler send
+match
+ filename *.js
+ xset content-type text/javascript
+ handler send
# Image types
match
filename *.gif
# Image types
match
filename *.gif
- fork sendfile -c image/gif
+ xset content-type image/gif
+ handler send
match
filename *.png
match
filename *.png
- fork sendfile -c image/png
+ xset content-type image/png
+ handler send
match
filename *.jpg *.jpeg
match
filename *.jpg *.jpeg
- fork sendfile -c image/jpeg
+ xset content-type image/jpeg
+ handler send