From: André Malo Date: Thu, 30 Dec 2004 23:38:39 +0000 (+0000) Subject: update transformation X-Git-Tag: 2.1.3~215 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d156977d83d63c7fbaeb3950e033f2167e8054c;p=thirdparty%2Fapache%2Fhttpd.git update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123749 13f79535-47bb-0310-9956-ffa450edef68 --- 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 @@ - + + + + + +