Commit feb1f40b authored by Andre Malo's avatar Andre Malo
Browse files

update transformation


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123749 13f79535-47bb-0310-9956-ffa450edef68
parent a4e1af24
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -176,19 +176,20 @@ RewriteRule ^/(.*) http://fully.qualified.domain.name/$1 [L,R]
        <dt>Solution:</dt>

        <dd>
          <p>We just redirect the URL <code>/</code> to
          <code>/e/www/</code>. While is seems trivial it is
          actually trivial with <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>, only.
          Because the typical old mechanisms of URL <em>Aliases</em>
          (as provides by <code class="module"><a href="../mod/mod_alias.html">mod_alias</a></code> and friends)
          only used <em>prefix</em> matching. With this you cannot
          do such a redirection because the <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> is a prefix of all URLs. With
          <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> it is really trivial:</p>
          <p>We redirect the URL <code>/</code> to
          <code>/e/www/</code>:
          </p>
         
<div class="example"><pre>
RewriteEngine on
RewriteRule   <strong>^/$</strong>  /e/www/  [<strong>R</strong>]
</pre></div>

    <p>Note that this can also be handled using the <code class="directive"><a href="../mod/mod_alias.html#redirectmatch">RedirectMatch</a></code> directive:</p>

    <div class="example"><p><code>
    RedirectMatch ^/$ http://example.com/e/www/
    </code></p></div>
        </dd>
      </dl>

+2 −0
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@
<p><span>가능한 언어: </span><a href="../en/misc/rewriteguide.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="../ko/misc/rewriteguide.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</div>
<div class="outofdate">이 문서는 최신판 번역이 아닙니다.
            최근에 변경된 내용은 영어 문서를 참고하세요.</div>

    <div class="note">
      <p>원저자<br />
+1 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
<!-- English Revision: 122770 -->
<!-- English Revision: 122770:123579 (outdated) -->

<!--
 Copyright 2004 The Apache Software Foundation
+1 −1
Original line number Diff line number Diff line
@@ -7,6 +7,6 @@

  <variants>
    <variant>en</variant>
    <variant>ko</variant>
    <variant outdated="yes">ko</variant>
  </variants>
</metafile>
+1 −1
Original line number Diff line number Diff line
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
<!-- English Revision: 106851:122907 (outdated) -->
<!-- English Revision: 106851:123300 (outdated) -->

<!--
 Copyright 2003-2004 The Apache Software Foundation
Loading