Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Use `xset content-type' for the dirplex sendfile example.
[ashd.git]
/
doc
/
dirplex.doc
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.
--------
The *sendfile*(1) program can be used to serve HTML files as follows.
--------
+fchild send
+ exec sendfile
+
match
filename *.html
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
--------
Assuming the PHP CGI interpreter is installed on the system, PHP