You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/04/27 07:58:42 UTC
svn commit: r1331232 - in /httpd/httpd/trunk/docs/manual/mod:
mod_xml2enc.xml mpm_common.xml
Author: humbedooh
Date: Fri Apr 27 05:58:41 2012
New Revision: 1331232
URL: http://svn.apache.org/viewvc?rev=1331232&view=rev
Log:
Syntax updates for mod_x*.xml and mpm_common.xml
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_xml2enc.xml
httpd/httpd/trunk/docs/manual/mod/mpm_common.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_xml2enc.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_xml2enc.xml?rev=1331232&r1=1331231&r2=1331232&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_xml2enc.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_xml2enc.xml Fri Apr 27 05:58:41 2012
@@ -132,7 +132,7 @@ module for earlier versions.</compatibil
information, you can set this default to help mod_xml2enc process
the data correctly. For example, to work with the default value
of Latin1 (<var>iso-8859-1</var> specified in HTTP/1.0, use</p>
- <example>xml2EncDefault iso-8859-1</example>
+ <highlight language="config">xml2EncDefault iso-8859-1</highlight>
</usage>
</directivesynopsis>
Modified: httpd/httpd/trunk/docs/manual/mod/mpm_common.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mpm_common.xml?rev=1331232&r1=1331231&r2=1331232&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mpm_common.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mpm_common.xml Fri Apr 27 05:58:41 2012
@@ -143,7 +143,9 @@ of the daemon</description>
<directive module="core">ServerRoot</directive>.</p>
<example><title>Example</title>
+ <highlight language="config">
PidFile /var/run/apache.pid
+ </highlight>
</example>
<p>It is often useful to be able to send the server a signal,
@@ -202,25 +204,25 @@ The <var>protocol</var> argument was add
<p>For example, to make the server accept connections on both
port 80 and port 8000, use:</p>
- <example>
- Listen 80<br />
- Listen 8000
- </example>
+ <highlight language="config">
+Listen 80
+Listen 8000
+ </highlight>
<p>To make the server accept connections on two specified
interfaces and port numbers, use </p>
- <example>
- Listen 192.170.2.1:80<br />
- Listen 192.170.2.5:8000
- </example>
+ <highlight language="config">
+Listen 192.170.2.1:80
+Listen 192.170.2.5:8000
+ </highlight>
<p>IPv6 addresses must be surrounded in square brackets, as in the
following example:</p>
- <example>
+ <highlight language="config">
Listen [2001:db8::a00:20ff:fea7:ccea]:80
- </example>
+ </highlight>
<p>The optional <var>protocol</var> argument is not required for most
configurations. If not specified, <code>https</code> is the default for
@@ -232,9 +234,9 @@ The <var>protocol</var> argument was add
<p>You only need to set the protocol if you are running on non-standard
ports. For example, running an <code>https</code> site on port 8443:</p>
- <example>
+ <highlight language="config">
Listen 192.170.2.1:8443 https
- </example>
+ </highlight>
<note><title>Error condition</title>
Multiple <directive>Listen</directive> directives for the same ip
@@ -469,7 +471,9 @@ the child processes</description>
Apache httpd to always create the file on the disk.</p>
<example><title>Example</title>
+ <highlight language="config">
ScoreBoardFile /var/run/apache_status
+ </highlight>
</example>
<p>File-based shared memory is useful for third-party applications