X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=etc%2Fashd%2Fdirplex.d%2Fsend.rc;h=ae540a2b3cc4266dea4c572d374d5988d6354cce;hp=1c4f7cff08b4c6ad589ae6bf9b5561f502459c84;hb=660cfa0d631f1f1474210e8856ea6b0a22e77fe1;hpb=8cc893f5a55ad27a6971524b41e99589576eade5 diff --git a/etc/ashd/dirplex.d/send.rc b/etc/ashd/dirplex.d/send.rc index 1c4f7cf..ae540a2 100644 --- a/etc/ashd/dirplex.d/send.rc +++ b/etc/ashd/dirplex.d/send.rc @@ -1,20 +1,33 @@ +fchild send + exec sendfile + match filename *.html - fork sendfile -c text/html + xset content-type text/html + handler send match filename *.css - fork sendfile -c text/css + xset content-type text/css + handler send match filename *.txt - fork sendfile -c text/plain + xset content-type text/plain + handler send +match + filename *.js + xset content-type text/javascript + handler send # Image types match filename *.gif - fork sendfile -c image/gif + xset content-type image/gif + handler send match filename *.png - fork sendfile -c image/png + xset content-type image/png + handler send match filename *.jpg *.jpeg - fork sendfile -c image/jpeg + xset content-type image/jpeg + handler send