Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2824afa
)
doc: Use `xset content-type' for the dirplex sendfile example.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 14 Dec 2011 14:00:34 +0000
(15:00 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 14 Dec 2011 14:00:34 +0000
(15:00 +0100)
doc/dirplex.doc
patch
|
blob
|
blame
|
history
diff --git
a/doc/dirplex.doc
b/doc/dirplex.doc
index
fe21c7e
..
fb4b7e7
100644
(file)
--- 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