# HG changeset patch # User Adam Chlipala # Date 1336332850 14400 # Node ID 957168662198719e7c2edef6ed7671e7fa893778 # Parent 675ce534e3ecc483f0c86e87ff0fac6b6377e51a Clarify need for 'prefix' for FastCGI diff -r 675ce534e3ec -r 957168662198 doc/manual.tex --- a/doc/manual.tex Sun May 06 15:27:30 2012 -0400 +++ b/doc/manual.tex Sun May 06 15:34:10 2012 -0400 @@ -265,7 +265,7 @@ \item \texttt{-prefix PREFIX}: Equivalent to the \texttt{prefix} directive from \texttt{.urp} files -\item \texttt{-protocol [http|cgi|fastcgi]}: Set the protocol that the generated application speaks. +\item \texttt{-protocol [http|cgi|fastcgi|static]}: Set the protocol that the generated application speaks. \begin{itemize} \item \texttt{http}: This is the default. It is for building standalone web servers that can be accessed by web browsers directly. @@ -299,6 +299,8 @@ \end{verbatim} The idle timeout is only important for applications that use message-passing. Client connections may go long periods without receiving messages, and Apache tries to be helpful and garbage collect them in such cases. To prevent that behavior, we specify how long a connection must be idle to be collected. + Also see the discussion of the \cd{prefix} directive for CGI above; similar configuration is likely to be necessary for FastCGI. An Ur/Web application won't generally run correctly if it doesn't have a unique URI prefix assigned to it and configured with \cd{prefix}. + Here is some lighttpd configuration for the same application. \begin{verbatim} fastcgi.server = (