Browse Source

Fixed some typos in xhttp module docs.

Alex Balashov 15 years ago
parent
commit
b520501258
2 changed files with 14 additions and 13 deletions
  1. 8 7
      modules/xhttp/README
  2. 6 6
      modules/xhttp/doc/xhttp_admin.xml

+ 8 - 7
modules/xhttp/README

@@ -59,14 +59,15 @@ Chapter 1. Admin Guide
 
 
 1. Overview
 1. Overview
 
 
-   This module provides a basic HTTP/1.0 server functionaly inside SIP
-   server. SIP and HTTP are very similar protocols, practically the SIP
-   parser can handle easy HTTP requests just by adding a fake Via header.
+   This module provides basic HTTP/1.0 server functionality inside SIP
+   Router. SIP and HTTP are very similar protocols, so, practically, the
+   SIP parser can easily handle HTTP requests just by adding a fake Via
+   header.
 
 
    The xmlrpc module uses the same concept. xHTTP module offers a generic
    The xmlrpc module uses the same concept. xHTTP module offers a generic
    HTTP handling way, by calling event_route[xhttp:request] in your
    HTTP handling way, by calling event_route[xhttp:request] in your
    config. You can check the HTTP URI via config variable $hu. Note that
    config. You can check the HTTP URI via config variable $hu. Note that
-   $ru will rise errors since URO is not valid for SIP.
+   $ru will raise errors since URO is not valid for SIP.
 
 
 2. Dependencies
 2. Dependencies
 
 
@@ -91,8 +92,8 @@ Chapter 1. Admin Guide
 
 
 3.1. url_skip (str)
 3.1. url_skip (str)
 
 
-   Regular expression to match the HTTP URL. If there is match, then event
-   route is not executed.
+   Regular expression to match the HTTP URL. If there is a match, then
+   event route is not executed.
 
 
    Default value is null (don't skip).
    Default value is null (don't skip).
 
 
@@ -103,7 +104,7 @@ modparam("xhttp", "url_skip", "^/RPC2")
 
 
 3.2. url_match (str)
 3.2. url_match (str)
 
 
-   Regular expression to match the HTPP URL. If there is no match, then
+   Regular expression to match the HTTP URL. If there is no match, then
    event route is not executed. This check is done after url_skip, so if
    event route is not executed. This check is done after url_skip, so if
    both url_skip and url_match would match then the event route is not
    both url_skip and url_match would match then the event route is not
    executed (url_skip has higher priority).
    executed (url_skip has higher priority).

+ 6 - 6
modules/xhttp/doc/xhttp_admin.xml

@@ -16,16 +16,16 @@
 	<section>
 	<section>
 	<title>Overview</title>
 	<title>Overview</title>
 	<para>
 	<para>
-		This module provides a basic HTTP/1.0 server functionaly inside SIP
-		server. SIP and HTTP are very similar protocols, practically the
-		SIP parser can handle easy HTTP requests just by adding a fake
+		This module provides basic HTTP/1.0 server functionality inside SIP
+		Router. SIP and HTTP are very similar protocols, so, practically, the
+		SIP parser can easily handle HTTP requests just by adding a fake
 		Via header.
 		Via header.
 	</para>
 	</para>
 	<para>
 	<para>
 		The xmlrpc module uses the same concept. xHTTP module offers a
 		The xmlrpc module uses the same concept. xHTTP module offers a
 		generic HTTP handling way, by calling event_route[xhttp:request]
 		generic HTTP handling way, by calling event_route[xhttp:request]
 		in your config. You can check the HTTP URI via config variable
 		in your config. You can check the HTTP URI via config variable
-		$hu. Note that $ru will rise errors since URO is not valid for SIP.
+		$hu. Note that $ru will raise errors since URO is not valid for SIP.
 	</para>
 	</para>
 	</section>
 	</section>
 	<section>
 	<section>
@@ -63,7 +63,7 @@
 	<section>
 	<section>
 		<title><varname>url_skip</varname> (str)</title>
 		<title><varname>url_skip</varname> (str)</title>
 		<para>
 		<para>
-			Regular expression to match the HTTP URL. If there is match,
+			Regular expression to match the HTTP URL. If there is a match,
 			then event route is not executed.
 			then event route is not executed.
 		</para>
 		</para>
 		<para>
 		<para>
@@ -83,7 +83,7 @@ modparam("xhttp", "url_skip", "^/RPC2")
 	<section>
 	<section>
 		<title><varname>url_match</varname> (str)</title>
 		<title><varname>url_match</varname> (str)</title>
 		<para>
 		<para>
-			Regular expression to match the HTPP URL. If there is no match,
+			Regular expression to match the HTTP URL. If there is no match,
 			then event route is not executed. This check is done after
 			then event route is not executed. This check is done after
 			url_skip, so if both url_skip and url_match would match then
 			url_skip, so if both url_skip and url_match would match then
 			the event route is not executed (url_skip has higher priority).
 			the event route is not executed (url_skip has higher priority).