changeset 51:d1e8781b9c5f

Fixing the wording.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 03 Oct 2011 10:59:42 +0000
parents 9d544687d02c
children 666e85596e3c
files xml/en/docs/http/converting_rewrite_rules.xml
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/converting_rewrite_rules.xml	Mon Oct 03 10:47:56 2011 +0000
+++ b/xml/en/docs/http/converting_rewrite_rules.xml	Mon Oct 03 10:59:42 2011 +0000
@@ -10,14 +10,14 @@
 <para>
 People who during their shared hosting life used to configure
 <i>everything</i> using <i>only</i> Apache&rsquo;s .htaccess files,
-translate usually the following rules:
+usually translate the following rules:
 
 <programlisting>
 RewriteCond  %{HTTP_HOST}  nginx.org
 RewriteRule  (.*)          http://www.nginx.org$1
 </programlisting>
 
-in something like this:
+to something like this:
 
 <programlisting>
 server {
@@ -56,8 +56,9 @@
 <section>
 
 <para>
-Another example, instead of backward logic: all that is not
-<url>nginx.com</url> and is not <url>www.nginx.com</url>:
+Another example.
+Instead of the &ldquo;upside-down&rdquo; logic &ldquo;all that is not
+<url>nginx.com</url> and is not <url>www.nginx.com</url>&rdquo;:
 
 <programlisting>
 RewriteCond  %{HTTP_HOST}  !nginx.com
@@ -65,8 +66,8 @@
 RewriteRule  (.*)          http://www.nginx.com$1
 </programlisting>
 
-you should define just <url>nginx.com</url>, <url>www.nginx.com</url>,
-and anything else:
+one should simply define <url>nginx.com</url>, <url>www.nginx.com</url>,
+and &ldquo;everything else&rdquo;:
 
 <programlisting>
 server {