From: André Malo Date: Thu, 30 Dec 2004 23:34:29 +0000 (+0000) Subject: update transformation X-Git-Tag: 2.0.53~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8d4ee22022bee2c6049ea8e87f55f686db5b3b0;p=thirdparty%2Fapache%2Fhttpd.git update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@123748 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/misc/rewriteguide.html.en b/docs/manual/misc/rewriteguide.html.en index 9e3536df0aa..05ba71d2bf8 100644 --- a/docs/manual/misc/rewriteguide.html.en +++ b/docs/manual/misc/rewriteguide.html.en @@ -184,19 +184,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 e3abaed6ef3..103d0dd9be2 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 e67a0f703f2..ff2cb0d6c12 100644 --- a/docs/manual/misc/rewriteguide.xml.ko +++ b/docs/manual/misc/rewriteguide.xml.ko @@ -1,7 +1,7 @@ - + +