Skip to content

Commit

Permalink
fix syntax and spelling errors in man pages
Browse files Browse the repository at this point in the history
In man/yaws.conf.5, man/yaws_api.5: Fixed a few syntax and spelling
errors in manpages.
  • Loading branch information
sgolovan authored and vinoski committed Jan 18, 2012
1 parent 86dc31d commit 404aec1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions man/yaws.conf.5
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
6 changes: 3 additions & 3 deletions man/yaws_api.5
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 404aec1

Please sign in to comment.