From eb968b932571cac89ca65ce6d522af369757e17f Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Wed, 14 Dec 2011 15:00:34 +0100 Subject: [PATCH] doc: Use `xset content-type' for the dirplex sendfile example. --- doc/dirplex.doc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/dirplex.doc b/doc/dirplex.doc index fe21c7e..fb4b7e7 100644 --- a/doc/dirplex.doc +++ b/doc/dirplex.doc @@ -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 -- 2.11.0