Permalink
Browse files

fix syntax and spelling errors in man pages

In man/yaws.conf.5, man/yaws_api.5: Fixed a few syntax and spelling
errors in manpages.
  • Loading branch information...
1 parent 86dc31d commit 404aec198255a7bd93ac75de6a5918cc436d350d @sgolovan sgolovan committed with vinoski Jan 16, 2012
Showing with 9 additions and 9 deletions.
  1. +6 −6 man/yaws.conf.5
  2. +3 −3 man/yaws_api.5
View
@@ -276,11 +276,11 @@ For example, if there are two proxies with the IP addresses
.SH SERVER PART
Yaws can virthost several web servers on the same IP address as well
as several web servers on different IP addresses. This includes SSL servers.
-.pp
+.PP
Each virtual host is defined within a matching pair of \fB<server ServerName>\fR
and \fB</server>\fR. The ServerName will be the name of the webserver.
-.pp
+.PP
The following directives are allowed inside a server definition.
.TP
\fBport = Port\fR
@@ -360,7 +360,7 @@ must return the possibly updated internal NewState.
\fBModule:write_log(ServerName, Type, State, Infos)\fR
.RS 12
-When it needs to log a message, \Yaws\ will call this function. The parameter
+When it needs to log a message, Yaws will call this function. The parameter
Infos is \fI{Ip,Req,InHdrs,OutHdrs,Time}\fR for an access log and
\fI{Ip,Path,Item}\fR for an auth log, where:
@@ -409,7 +409,7 @@ Add additional CGI or FastCGI variables. For example:
<extra_cgi_vars dir='/path/to/some/scripts'>
var = val
-...
+\&...
</extra_cgi_vars>
.fi
@@ -612,7 +612,7 @@ Defines a user provided callback module.
At startup of the server, Module:start/1 will be called.
The #sconf{} record (defined in yaws.hrl) will be used
as the input argument. This makes it possible for a user
-application to syncronize the startup with the yaws server
+application to synchronize the startup with the yaws server
as well as getting hold of user specific configuration data,
see the explanation for the <opaque> context.
@@ -988,7 +988,7 @@ logdir = /var/log/yaws
</server>
.fi
-.pp
+.PP
And this example shows a similar setup but two web servers on the same
IP address.
View
@@ -197,8 +197,8 @@ When a yaws function needs to deliver chunks of data which it gets
from a process. The other process can call this function to deliver
these chunks. It requires the \fBout/1\fR function to return the
value \fB{streamcontent, MimeType, FirstChunk}\fR to work.
-YawsPid is the process identifier of the yaws process delivering the original
-.yaws file. That is self() in the yaws code.
+YawsPid is the process identifier of the yaws process delivering the
+original .yaws file. That is self() in the yaws code.
The Pid must typically be passed (somehow) to the producer of the stream.
.TP
@@ -619,7 +619,7 @@ if a file is very large or if data arrives from back end servers on the network.
.TP
\fB{streamcontent_with_timeout, MimeType, FirstChunk, Timeout}\fR
-Similar to above, but with an explicit timeout. The deafult timeout
+Similar to above, but with an explicit timeout. The default timeout
is 30 secs. I.e if the application fails to deliver data to the
Yaws process, the streaming will stop. This is often not the
desired behaviour in Comet/Ajax applications. It's possible to

0 comments on commit 404aec1

Please sign in to comment.