You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Marc Slemko <ma...@hyperreal.org> on 1997/07/02 05:09:27 UTC
cvs commit: apache/htdocs/manual/mod mod_auth_msql.html mod_rewrite.html mod_userdir.html
marc 97/07/01 20:09:26
Modified: htdocs/manual/mod mod_auth_msql.html mod_rewrite.html
mod_userdir.html
Log:
HTML cleanups. weblint is your friend, and it is even right sometimes.
Revision Changes Path
1.7 +6 -6 apache/htdocs/manual/mod/mod_auth_msql.html
Index: mod_auth_msql.html
===================================================================
RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_auth_msql.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -C3 -r1.6 -r1.7
*** mod_auth_msql.html 1997/06/04 16:14:17 1.6
--- mod_auth_msql.html 1997/07/02 03:09:22 1.7
***************
*** 155,167 ****
<pre>
% msqladmin create www <br>
% msql www <br>
! -> create table user_records ( <br>
! -> User_id char(32) primary key, <br>
! -> Cpasswd char(32), <br>
! -> Xgroup char(32) <br>
! -> ) \g <br>
query OK <br>
! -> \q <br>
% <br>
</pre><br>
--- 155,167 ----
<pre>
% msqladmin create www <br>
% msql www <br>
! -> create table user_records ( <br>
! -> User_id char(32) primary key, <br>
! -> Cpasswd char(32), <br>
! -> Xgroup char(32) <br>
! -> ) \g <br>
query OK <br>
! -> \q <br>
% <br>
</pre><br>
1.11 +18 -23 apache/htdocs/manual/mod/mod_rewrite.html
Index: mod_rewrite.html
===================================================================
RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_rewrite.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -C3 -r1.10 -r1.11
*** mod_rewrite.html 1997/06/24 18:39:39 1.10
--- mod_rewrite.html 1997/07/02 03:09:23 1.11
***************
*** 44,50 ****
It operates on the full URLs (including the PATH_INFO part) both in
per-server context (httpd.conf) and per-dir context (.htaccess) and even
can generate QUERY_STRING parts on result. The rewritten result can lead to internal sub-processing, external request redirection or to internal proxy throughput.
- </b>
<p>
The latest version can be found on<br>
--- 44,49 ----
***************
*** 147,153 ****
config.
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
To disable the logging of rewriting actions it is not recommended
to set <em>Filename</em>
--- 146,152 ----
config.
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
To disable the logging of rewriting actions it is not recommended
to set <em>Filename</em>
***************
*** 161,167 ****
</table>
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
SECURITY: See the <a
href="../misc/security_tips.html">Apache Security
--- 160,166 ----
</table>
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
SECURITY: See the <a
href="../misc/security_tips.html">Apache Security
***************
*** 198,204 ****
This disables all rewrite action logs.
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
<b>Notice:</b> Using a high value for <i>Level</i> will slow down your Apache
server dramatically! Use the rewriting logfile only for debugging or at least
--- 197,203 ----
This disables all rewrite action logs.
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
<b>Notice:</b> Using a high value for <i>Level</i> will slow down your Apache
server dramatically! Use the rewriting logfile only for debugging or at least
***************
*** 289,295 ****
<li><b>DBM Hashfile Format</b>
<p>
This is a binary NDBM format file containing the
! same contents as the <em>Plain Text Format</b> files. You can create
such a file with any NDBM tool or with the <tt>dbmmanage</tt> program
from the <tt>support</tt> directory of the Apache distribution.
<p>
--- 288,294 ----
<li><b>DBM Hashfile Format</b>
<p>
This is a binary NDBM format file containing the
! same contents as the <em>Plain Text Format</em> files. You can create
such a file with any NDBM tool or with the <tt>dbmmanage</tt> program
from the <tt>support</tt> directory of the Apache distribution.
<p>
***************
*** 346,352 ****
context.
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
For plain text and DBM format files the looked-up keys are cached in-core
until the <tt>mtime</tt> of the mapfile changes or the server does a
--- 345,351 ----
context.
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
For plain text and DBM format files the looked-up keys are cached in-core
until the <tt>mtime</tt> of the mapfile changes or the server does a
***************
*** 384,390 ****
directive to specify the correct URL-prefix.
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
So, if your webserver's URLs are <b>not</b> directly
related to physical file paths, you have to use <tt>RewriteBase</tt> in every
--- 383,389 ----
directive to specify the correct URL-prefix.
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
So, if your webserver's URLs are <b>not</b> directly
related to physical file paths, you have to use <tt>RewriteBase</tt> in every
***************
*** 424,430 ****
rewritten to the physical file <tt>/abc/def/newstuff.html</tt>.
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
<font size=-1>
<b>For the Apache hackers:</b><br>
--- 423,429 ----
rewritten to the physical file <tt>/abc/def/newstuff.html</tt>.
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
<font size=-1>
<b>For the Apache hackers:</b><br>
***************
*** 437,446 ****
/xyz/oldstuff.html
Internal Processing:
! /xyz/oldstuff.html -> /abc/def/oldstuff.html (per-server Alias)
! /abc/def/oldstuff.html -> /abc/def/newstuff.html (per-dir RewriteRule)
! /abc/def/newstuff.html -> /xyz/newstuff.html (per-dir RewriteBase)
! /xyz/newstuff.html -> /abc/def/newstuff.html (per-server Alias)
Result:
/abc/def/newstuff.html
--- 436,445 ----
/xyz/oldstuff.html
Internal Processing:
! /xyz/oldstuff.html -> /abc/def/oldstuff.html (per-server Alias)
! /abc/def/oldstuff.html -> /abc/def/newstuff.html (per-dir RewriteRule)
! /abc/def/newstuff.html -> /xyz/newstuff.html (per-dir RewriteBase)
! /xyz/newstuff.html -> /abc/def/newstuff.html (per-server Alias)
Result:
/abc/def/newstuff.html
***************
*** 471,477 ****
<p>
The <tt>RewriteCond</tt> directive defines a rule condition. Precede a
! <tt>RewriteRule</tt> directive with one or more <t>RewriteCond</tt>
directives.
The following rewriting rule is only used if its pattern matches the current
--- 470,476 ----
<p>
The <tt>RewriteCond</tt> directive defines a rule condition. Precede a
! <tt>RewriteRule</tt> directive with one or more <tt>RewriteCond</tt>
directives.
The following rewriting rule is only used if its pattern matches the current
***************
*** 562,568 ****
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
These variables all correspond to the similar named HTTP MIME-headers, C
variables of the Apache server or <tt>struct tm</tt> fields of the Unix
--- 561,567 ----
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
These variables all correspond to the similar named HTTP MIME-headers, C
variables of the Apache server or <tt>struct tm</tt> fields of the Unix
***************
*** 770,776 ****
last default rule.
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
<b>Notice!</b> When using the NOT character to negate a pattern you cannot
have grouped wildcard parts in the pattern. This is impossible because when
--- 769,775 ----
last default rule.
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
<b>Notice!</b> When using the NOT character to negate a pattern you cannot
have grouped wildcard parts in the pattern. This is impossible because when
***************
*** 814,820 ****
pattern to be applied before a substitution occurs.
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
<b>Notice</b>: There is a special feature. When you prefix a substitution
field with <tt>http://</tt><em>thishost</em>[<em>:thisport</em>] then
--- 813,819 ----
pattern to be applied before a substitution occurs.
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
<b>Notice</b>: There is a special feature. When you prefix a substitution
field with <tt>http://</tt><em>thishost</em>[<em>:thisport</em>] then
***************
*** 962,968 ****
typical example is the use of <tt>mod_alias</tt> and
<tt>mod_rewrite</tt>..
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
<font size=-1>
<b>For the Apache hackers:</b><br>
--- 961,967 ----
typical example is the use of <tt>mod_alias</tt> and
<tt>mod_rewrite</tt>..
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
<font size=-1>
<b>For the Apache hackers:</b><br>
***************
*** 995,1001 ****
</ul>
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
Remember: Never forget that <em>Pattern</em> gets applied to a complete URL
in per-server configuration files. <b>But in per-directory configuration
--- 994,1000 ----
</ul>
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
Remember: Never forget that <em>Pattern</em> gets applied to a complete URL
in per-server configuration files. <b>But in per-directory configuration
***************
*** 1012,1018 ****
</table>
<p>
! <table width=70% border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
Notice! To enable the rewriting engine for per-directory configuration files
you need to set ``<tt>RewriteEngine On</tt>'' in these files <b>and</b>
--- 1011,1017 ----
</table>
<p>
! <table width="70%" border=2 bgcolor="#c0c0e0" cellspacing=0 cellpadding=10>
<tr><td>
Notice! To enable the rewriting engine for per-directory configuration files
you need to set ``<tt>RewriteEngine On</tt>'' in these files <b>and</b>
***************
*** 1119,1128 ****
</tr>
</table>
-
- </td>
- </tr>
- </table>
<p>
<b>Example:</b>
--- 1118,1123 ----
1.9 +6 -6 apache/htdocs/manual/mod/mod_userdir.html
Index: mod_userdir.html
===================================================================
RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_userdir.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -C3 -r1.8 -r1.9
*** mod_userdir.html 1997/07/02 02:22:04 1.8
--- mod_userdir.html 1997/07/02 03:09:24 1.9
***************
*** 66,80 ****
directory specification. A request for
<code>http://www.foo.com/~bob/one/two.html</code> will be translated to:
<pre>
! UserDir public_html -> ~bob/public_html/one/two.html
! UserDir /usr/web -> /usr/web/bob/one/two.html
! UserDir /home/*/www -> /home/bob/www/one/two.html
</pre>
The following directives will send redirects to the client:
<pre>
! UserDir http://www.foo.com/users -> http//www.foo.com/users/bob/one/two.html
! UserDir http://www.foo.com/*/usr -> http://www.foo.com/bob/usr/one/two.html
! UserDir http://www.foo.com/~*/ -> http://www.foo.com/~bob/one/two.html
</pre>
</P>
<BLOCKQUOTE>
--- 66,80 ----
directory specification. A request for
<code>http://www.foo.com/~bob/one/two.html</code> will be translated to:
<pre>
! UserDir public_html -> ~bob/public_html/one/two.html
! UserDir /usr/web -> /usr/web/bob/one/two.html
! UserDir /home/*/www -> /home/bob/www/one/two.html
</pre>
The following directives will send redirects to the client:
<pre>
! UserDir http://www.foo.com/users -> http//www.foo.com/users/bob/one/two.html
! UserDir http://www.foo.com/*/usr -> http://www.foo.com/bob/usr/one/two.html
! UserDir http://www.foo.com/~*/ -> http://www.foo.com/~bob/one/two.html
</pre>
</P>
<BLOCKQUOTE>