You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by "Ralf S. Engelschall" <rs...@apache.org> on 1998/08/02 13:18:27 UTC
cvs commit: apache-1.3/htdocs/manual/mod mod_rewrite.html
rse 98/08/02 04:18:26
Modified: src CHANGES
htdocs/manual/mod mod_rewrite.html
Log:
Fixed examples in mod_rewrite.html document.
PR: 2756
Revision Changes Path
1.994 +3 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.993
retrieving revision 1.994
diff -u -r1.993 -r1.994
--- CHANGES 1998/08/02 04:43:15 1.993
+++ CHANGES 1998/08/02 11:18:24 1.994
@@ -1,5 +1,8 @@
Changes with Apache 1.3.2
+ *) Fixed examples in mod_rewrite.html document.
+ [Youichirou Koga <y-...@jp.FreeBSD.org>, Ralf S. Engelschall] PR#2756
+
*) Allow ap_read_request errors to propagate through the normal request
handling loop so that the connection can be properly closed with
lingering_close, thus avoiding a potential TCP reset that would
1.34 +4 -4 apache-1.3/htdocs/manual/mod/mod_rewrite.html
Index: mod_rewrite.html
===================================================================
RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/mod_rewrite.html,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- mod_rewrite.html 1998/07/25 12:16:37 1.33
+++ mod_rewrite.html 1998/08/02 11:18:26 1.34
@@ -660,7 +660,7 @@
<P>
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=5 BGCOLOR="#F0F0F0">
<TR><TD><PRE>
-RewriteMap real-to-host txt:/path/to/file/map.txt
+RewriteMap real-to-user txt:/path/to/file/map.txt
</PRE></TD></TR>
</TABLE>
@@ -1764,13 +1764,13 @@
</BLOCKQUOTE>
<P>
We take the rewrite mapfile from above and save it under
-<CODE>/anywhere/map.real-to-user</CODE>. Then we only have to add the
+<CODE>/path/to/file/map.txt</CODE>. Then we only have to add the
following lines to the Apache server configuration file:
<BLOCKQUOTE>
<PRE>
-RewriteLog /anywhere/rewrite.log
-RewriteMap real-to-user txt:/anywhere/map.real-to-host
+RewriteLog /path/to/file/rewrite.log
+RewriteMap real-to-user txt:/path/to/file/map.txt
RewriteRule ^/([^/]+)/~([^/]+)/(.*)$ /u/${real-to-user:$2|nobody}/$3.$1
</PRE>
</BLOCKQUOTE>