diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-05-06 15:34:10 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-05-06 15:34:10 -0400 |
commit | aa42c6139b56fa4974271a0b8cd73a7891f67403 (patch) | |
tree | 91de7893f0d7ade3c4c4a7b46b10bd00bf9b30f2 /doc | |
parent | 6d454de6e5954f0e09adafca3141b5394bbc5140 (diff) |
Clarify need for 'prefix' for FastCGI
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/manual.tex b/doc/manual.tex index 6f1e321e..5bc4c6ae 100644 --- a/doc/manual.tex +++ b/doc/manual.tex @@ -265,7 +265,7 @@ sqlite3 path/to/database/file <app.sql \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 @@ FastCgiServer /path/to/hello.exe -idle-timeout 99999 \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 = ( |