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>
<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,
<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
<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
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