doc: Use `xset content-type' for the dirplex sendfile example.
[ashd.git] / doc / dirplex.doc
index fe21c7e..fb4b7e7 100644 (file)
@@ -307,9 +307,13 @@ EXAMPLES
 The *sendfile*(1) program can be used to serve HTML files as follows.
 
 --------
+fchild send
+  exec sendfile
+
 match
   filename *.html
-  fork sendfile -c text/html
+  xset content-type text/html
+  handler send
 --------
 
 Assuming the PHP CGI interpreter is installed on the system, PHP