diff options
author | Ralf S. Engelschall <rse@apache.org> | 1998-08-02 11:18:26 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@apache.org> | 1998-08-02 11:18:26 +0000 |
commit | 006c7b92733006af41385da4aa8be9a03c1da800 (patch) | |
tree | 2680a52ee19c84e732b63999409b0916e2469b6c /docs/manual/mod/mod_rewrite.html | |
parent | b73da07b6f9fbd29036ed7d7f878f0a89b618a79 (diff) | |
download | httpd-006c7b92733006af41385da4aa8be9a03c1da800.tar.gz |
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
Diffstat (limited to 'docs/manual/mod/mod_rewrite.html')
-rw-r--r-- | docs/manual/mod/mod_rewrite.html | 8 |
1 files 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 <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> |