]> granicus.if.org Git - apache/commitdiff
Fixed examples in mod_rewrite.html document.
authorRalf S. Engelschall <rse@apache.org>
Sun, 2 Aug 1998 11:18:26 +0000 (11:18 +0000)
committerRalf S. Engelschall <rse@apache.org>
Sun, 2 Aug 1998 11:18:26 +0000 (11:18 +0000)
PR: 2756

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81841 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.html

index 207b083bfddcddf06b507f6c339fd4c2d72163a6..d2eb61e6dc7ebcfdffe0d4ae48978efa8bc4d244 100644 (file)
@@ -660,7 +660,7 @@ Mr.Joe.Average        joe   # Mr. Average
 <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 @@ into
 </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>