commit 970e96029adafa9a6326e0e2fc48614fe88ce188
Author: Stephen Wadeley <swadeley(a)redhat.com>
Date: Thu Nov 20 23:19:06 2014 +0100
Typos and style improvements for consistency
en-US/The_Apache_HTTP_Server.xml | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index dc40ac8..0b3ff4d 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -340,7 +340,7 @@ rm
'/etc/systemd/system/multi-user.target.wants/httpd.service'</screen>
<orderedlist>
<listitem>
<para>
- To restart the service completely, type the following at a shell prompt as
<systemitem class="username">root</systemitem>:
+ To restart the service completely, enter the following command as
<systemitem class="username">root</systemitem>:
</para>
<screen>~]# <command>systemctl restart
httpd.service</command></screen>
<para>
@@ -358,7 +358,7 @@ rm
'/etc/systemd/system/multi-user.target.wants/httpd.service'</screen>
</listitem>
<listitem>
<para>
- To reload the configuration without affecting active requests, run the
following command as <systemitem
class="username">root</systemitem>:
+ To reload the configuration without affecting active requests, enter the
following command as <systemitem
class="username">root</systemitem>:
</para>
<screen>~]# <command>service httpd
graceful</command></screen>
<para>
@@ -3765,7 +3765,7 @@ ErrorDocument 404 /404-not_found.html</programlisting>
<tertiary>developing</tertiary>
</indexterm>
<para>
- If you intend to create a new DSO module, make sure you have the
<package>httpd-devel</package> package installed. To do so, type the following
at a shell prompt as <systemitem
class="username">root</systemitem>:
+ If you intend to create a new DSO module, make sure you have the
<package>httpd-devel</package> package installed. To do so, enter the
following command as <systemitem
class="username">root</systemitem>:
</para>
<screen>~]# <command>yum install
httpd-devel</command></screen>
<para>
@@ -3939,7 +3939,7 @@ ErrorDocument 404 /404-not_found.html</programlisting>
<section id="s3-apache-mod_ssl-enabling">
<title>Enabling the mod_ssl Module</title>
<para>
- If you intend to set up an SSL server, make sure you have the
<package>mod_ssl</package> (the <systemitem
class="resource">mod_ssl</systemitem> module) and
<package>openssl</package> (the OpenSSL toolkit) packages installed. To do so,
type the following at a shell prompt as <systemitem
class="username">root</systemitem>:
+ If you intend to set up an SSL server, make sure you have the
<package>mod_ssl</package> (the <systemitem
class="resource">mod_ssl</systemitem> module) and
<package>openssl</package> (the OpenSSL toolkit) packages installed. To do so,
enter the following command as <systemitem
class="username">root</systemitem>:
</para>
<screen>~]# <command>yum install mod_ssl
openssl</command></screen>
<indexterm>
@@ -3988,7 +3988,7 @@ ErrorDocument 404 /404-not_found.html</programlisting>
In either of the above cases, you will need to obtain a new certificate. For more
information on this topic, see <xref
linkend="s3-apache-mod_ssl-genkey"/>.
</para>
<para>
- If you wish to use an existing key and certificate, move the relevant files to
the <filename class="directory">/etc/pki/tls/private/</filename> and
<filename class="directory">/etc/pki/tls/certs/</filename>
directories respectively. You can do so by running the following commands as
<systemitem class="username">root</systemitem>:
+ If you want to use an existing key and certificate, move the relevant files to
the <filename class="directory">/etc/pki/tls/private/</filename> and
<filename class="directory">/etc/pki/tls/certs/</filename>
directories respectively. You can do so by issuing the following commands as
<systemitem class="username">root</systemitem>:
</para>
<screen>~]# <command>mv</command>
<filename><replaceable>key_file</replaceable>.key</filename>
<filename>/etc/pki/tls/private/<replaceable>hostname</replaceable>.key</filename>
~]# <command>mv</command>
<filename><replaceable>certificate</replaceable>.crt</filename>
<filename>/etc/pki/tls/certs/<replaceable>hostname</replaceable>.crt</filename></screen>
@@ -4019,7 +4019,7 @@ SSLCertificateKeyFile
/etc/pki/tls/private/<replaceable>hostname</replaceable>.k
<tertiary>certificate</tertiary>
</indexterm>
<para>
- In order to generate a new key and certificate pair, you must to have the
<package>crypto-utils</package> package installed in your system. As
<systemitem class="username">root</systemitem>, you can install it
by typing the following at a shell prompt:
+ In order to generate a new key and certificate pair, you must to have the
<package>crypto-utils</package> package installed on your system. As
<systemitem class="username">root</systemitem>, it can be installed
by entering the following command:
</para>
<screen>~]# <command>yum install
crypto-utils</command></screen>
<para>
@@ -4028,19 +4028,19 @@ SSLCertificateKeyFile
/etc/pki/tls/private/<replaceable>hostname</replaceable>.k
<important>
<title>Replacing an existing certificate</title>
<para>
- If the server already has a valid certificate and you are replacing it with a
new one, specify a different serial number. This ensures that client browsers are notified
of this change, update to this new certificate as expected, and do not fail to access the
page. To create a new certificate with a custom serial number, as <systemitem
class="username">root</systemitem>, use the following command instead
of <application>genkey</application>:
+ If the server already has a valid certificate and you are replacing it with a
new one, specify a different serial number. This ensures that client browsers are notified
of this change, update to this new certificate as expected, and do not fail to access the
page. To create a new certificate with a custom serial number, use the following command
instead of <application>genkey</application>:
</para>
<screen>~]# <command>openssl req -x509 -new -set_serial
<replaceable>number</replaceable> -key
<replaceable>hostname</replaceable>.key -out
<replaceable>hostname</replaceable>.crt</command></screen>
</important>
<note>
<title>Remove a previously created key</title>
<para>
- If there already is a key file for a particular hostname in your system,
<application>genkey</application> will refuse to start. In this case, remove
the existing file using the following command as <systemitem
class="username">root</systemitem>:
+ If there already is a key file for a particular host name on your system,
<application>genkey</application> will refuse to start. In this case, remove
the existing file using the following command as <systemitem
class="username">root</systemitem>:
</para>
<screen>~]# <command>rm
/etc/pki/tls/private/<replaceable>hostname</replaceable>.key</command></screen>
</note>
<para>
- To run the utility, as <systemitem
class="username">root</systemitem>, run the
<command>genkey</command> command followed by the appropriate host name (for
example, <systemitem
class="domainname">penguin.example.com</systemitem>):
+ To run the utility, as <systemitem
class="username">root</systemitem>, enter the
<command>genkey</command> command followed by the appropriate host name (for
example, <systemitem
class="domainname">penguin.example.com</systemitem>):
</para>
<screen>~]# <command>genkey</command>
<replaceable>hostname</replaceable></screen>
<para>
@@ -4091,7 +4091,7 @@ SSLCertificateKeyFile
/etc/pki/tls/private/<replaceable>hostname</replaceable>.k
</step>
<step>
<para>
- Decide whether you wish to send a certificate request to a certificate
authority.
+ Decide whether you want to send a certificate request to a certificate
authority.
</para>
<figure id="figure-apache-mod_ssl-genkey-03">
<title>Generating a certificate request</title>