From 3d156977d83d63c7fbaeb3950e033f2167e8054c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Thu, 30 Dec 2004 23:38:39 +0000 Subject: [PATCH] update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123749 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/misc/rewriteguide.html.en | 19 ++++++++++--------- docs/manual/misc/rewriteguide.html.ko.euc-kr | 2 ++ docs/manual/misc/rewriteguide.xml.ko | 2 +- docs/manual/misc/rewriteguide.xml.meta | 2 +- docs/manual/mod/core.xml.de | 2 +- docs/manual/mod/core.xml.ja | 2 +- docs/manual/platform/windows.html.ko.euc-kr | 2 ++ docs/manual/platform/windows.xml.ko | 2 +- docs/manual/platform/windows.xml.meta | 2 +- docs/manual/vhosts/examples.html.ja.euc-jp | 2 ++ docs/manual/vhosts/examples.html.ko.euc-kr | 2 ++ docs/manual/vhosts/examples.xml.ja | 2 +- docs/manual/vhosts/examples.xml.ko | 2 +- docs/manual/vhosts/examples.xml.meta | 4 ++-- 14 files changed, 28 insertions(+), 19 deletions(-) diff --git a/docs/manual/misc/rewriteguide.html.en b/docs/manual/misc/rewriteguide.html.en index 2b6651ce8b3..79e9ae5552c 100644 --- a/docs/manual/misc/rewriteguide.html.en +++ b/docs/manual/misc/rewriteguide.html.en @@ -176,19 +176,20 @@ RewriteRule ^/(.*) http://fully.qualified.domain.name/$1 [L,R]
Solution:
-

We just redirect the URL / to - /e/www/. While is seems trivial it is - actually trivial with mod_rewrite, only. - Because the typical old mechanisms of URL Aliases - (as provides by mod_alias and friends) - only used prefix matching. With this you cannot - do such a redirection because the DocumentRoot is a prefix of all URLs. With - mod_rewrite it is really trivial:

- +

We redirect the URL / to + /e/www/: +

+
 RewriteEngine on
 RewriteRule   ^/$  /e/www/  [R]
 
+ +

Note that this can also be handled using the RedirectMatch directive:

+ +

+ RedirectMatch ^/$ http://example.com/e/www/ +

diff --git a/docs/manual/misc/rewriteguide.html.ko.euc-kr b/docs/manual/misc/rewriteguide.html.ko.euc-kr index 8f9c3412885..196d071cc9a 100644 --- a/docs/manual/misc/rewriteguide.html.ko.euc-kr +++ b/docs/manual/misc/rewriteguide.html.ko.euc-kr @@ -21,6 +21,8 @@

°¡´ÉÇÑ ¾ð¾î:  en  |  ko 

+
ÀÌ ¹®¼­´Â ÃÖ½ÅÆÇ ¹ø¿ªÀÌ ¾Æ´Õ´Ï´Ù. + ÃÖ±Ù¿¡ º¯°æµÈ ³»¿ëÀº ¿µ¾î ¹®¼­¸¦ Âü°íÇϼ¼¿ä.

¿øÀúÀÚ
diff --git a/docs/manual/misc/rewriteguide.xml.ko b/docs/manual/misc/rewriteguide.xml.ko index 41a5de63024..b721b6d8992 100644 --- a/docs/manual/misc/rewriteguide.xml.ko +++ b/docs/manual/misc/rewriteguide.xml.ko @@ -1,7 +1,7 @@ - + + + + + +