You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2014/01/05 19:33:42 UTC
svn commit: r1555605 - in /httpd/httpd/branches/2.4.x/docs/manual/mod:
mod_auth_form.xml mod_authn_dbd.xml mod_macro.xml
Author: jailletc36
Date: Sun Jan 5 18:33:42 2014
New Revision: 1555605
URL: http://svn.apache.org/r1555605
Log:
Sync a few doc with trunk
Modified:
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_auth_form.xml
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_dbd.xml
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_auth_form.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_auth_form.xml?rev=1555605&r1=1555604&r2=1555605&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_auth_form.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_auth_form.xml Sun Jan 5 18:33:42 2014
@@ -118,11 +118,13 @@ SessionCryptoPassphrase secret
provide their usename and password.</p>
<example><title>Example login form</title>
- <form method="POST" action="/dologin.html"><br />
- Username: <input type="text" name="httpd_username" value="" /><br />
- Password: <input type="password" name="httpd_password" value="" /><br />
- <input type="submit" name="login" value="Login" /><br />
- </form><br />
+ <highlight language="html">
+<form method="POST" action="/dologin.html">
+ Username: <input type="text" name="httpd_username" value="" />
+ Password: <input type="password" name="httpd_password" value="" />
+ <input type="submit" name="login" value="Login" />
+</form>
+ </highlight>
</example>
<p>The part that does the actual login is handled by the <var>form-login-handler</var>.
@@ -157,14 +159,14 @@ SessionCryptoPassphrase secret
reused for different areas of a website.</p>
<example><title>Example login form with location</title>
- <form method="POST" action="/dologin.html"><br />
- <indent>
- Username: <input type="text" name="httpd_username" value="" /><br />
- Password: <input type="password" name="httpd_password" value="" /><br />
- <input type="submit" name="login" value="Login" /><br />
- <input type="hidden" name="httpd_location" value="http://example.com/success.html" /><br />
- </indent>
- </form><br />
+ <highlight language="html">
+<form method="POST" action="/dologin.html">
+ Username: <input type="text" name="httpd_username" value="" />
+ Password: <input type="password" name="httpd_password" value="" />
+ <input type="submit" name="login" value="Login" />
+ <input type="hidden" name="httpd_location" value="http://example.com/success.html" />
+</form>
+ </highlight>
</example>
</section>
@@ -216,13 +218,13 @@ SessionCryptoPassphrase secret
URL is.</p>
<example><title>Example inline login form</title>
- <form method="POST" <strong>action=""</strong>><br />
- <indent>
- Username: <input type="text" name="httpd_username" value="" /><br />
- Password: <input type="password" name="httpd_password" value="" /><br />
- <input type="submit" name="login" value="Login" /><br />
- </indent>
- </form><br />
+<highlight language="html">
+<form method="POST" <strong>action=""</strong>>
+ Username: <input type="text" name="httpd_username" value="" />
+ Password: <input type="password" name="httpd_password" value="" />
+ <input type="submit" name="login" value="Login" />
+</form>
+</highlight>
</example>
<p>When the end user has filled in their login details, the form will make
@@ -252,16 +254,16 @@ SessionCryptoPassphrase secret
per the example below.</p>
<example><title>Example with body preservation</title>
- <form method="POST" action=""><br />
- <indent>
- Username: <input type="text" name="httpd_username" value="" /><br />
- Password: <input type="password" name="httpd_password" value="" /><br />
- <input type="submit" name="login" value="Login" /><br />
- <strong><input type="hidden" name="httpd_method" value="POST" /><br />
- <input type="hidden" name="httpd_mimetype" value="application/x-www-form-urlencoded" /><br />
- <input type="hidden" name="httpd_body" value="name1=value1&name2=value2" /></strong><br />
- </indent>
- </form>
+ <highlight language="html">
+<form method="POST" action="">
+ Username: <input type="text" name="httpd_username" value="" />
+ Password: <input type="password" name="httpd_password" value="" />
+ <input type="submit" name="login" value="Login" />
+ <br/> <strong><input type="hidden" name="httpd_method" value="POST" />
+ <input type="hidden" name="httpd_mimetype" value="application/x-www-form-urlencoded" />
+ <input type="hidden" name="httpd_body" value="name1=value1&name2=value2" /></strong><br/>
+</form>
+ </highlight>
</example>
<p>How the method, mimetype and body of the original request are embedded within the
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_dbd.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_dbd.xml?rev=1555605&r1=1555604&r2=1555605&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_dbd.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_dbd.xml Sun Jan 5 18:33:42 2014
@@ -165,7 +165,7 @@ AuthDBDUserPWQuery "SELECT password FROM
<usage>
<p>The <directive>AuthDBDUserRealmQuery</directive> specifies an
- SQL query to look up a password for a specified user and realm in a
+ SQL query to look up a password for a specified user and realm in a
digest authentication process.
The user's ID and the realm, in that order, will be passed as string
parameters when the SQL query is executed. They may be referenced
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml?rev=1555605&r1=1555604&r2=1555605&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml Sun Jan 5 18:33:42 2014
@@ -93,7 +93,7 @@ Examples section.</p>
<p>Parameter names should begin with a sigil such as <code>$</code>,
<code>%</code>, or <code>@</code>, so that they are clearly
-identifiable, and also in order to help deail with interactions with
+identifiable, and also in order to help deal with interactions with
other directives, such as the core <directive
module="core">Define</directive> directive. Failure to do so will
result in a warning. Nevertheless, you are encouraged to have a good
@@ -232,7 +232,7 @@ UndefMacro DirGroup
<usage>
<p>The <directive>Use</directive> directive controls the use of a macro.
The specified macro is expanded. It must be given the same number of
- arguments than in the macro definition. The provided values are
+ arguments as in the macro definition. The provided values are
associated to their corresponding initial parameters and are substituted
before processing.</p>