From 006c7b92733006af41385da4aa8be9a03c1da800 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sun, 2 Aug 1998 11:18:26 +0000 Subject: [PATCH] Fixed examples in mod_rewrite.html document. 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/manual/mod/mod_rewrite.html b/docs/manual/mod/mod_rewrite.html index 207b083bfd..d2eb61e6dc 100644 --- a/docs/manual/mod/mod_rewrite.html +++ b/docs/manual/mod/mod_rewrite.html @@ -660,7 +660,7 @@ Mr.Joe.Average joe # Mr. Average

-RewriteMap real-to-host txt:/path/to/file/map.txt
+RewriteMap real-to-user txt:/path/to/file/map.txt
 
@@ -1764,13 +1764,13 @@ into

We take the rewrite mapfile from above and save it under -/anywhere/map.real-to-user. Then we only have to add the +/path/to/file/map.txt. Then we only have to add the following lines to the Apache server configuration file:

-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
 
-- 2.40.0