Loading docs/manual/misc/rewriteguide.html.en +10 −9 Original line number Diff line number Diff line Loading @@ -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> Loading docs/manual/misc/rewriteguide.html.ko.euc-kr +2 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,8 @@ <p><span>가능한 언어: </span><a href="../en/misc/rewriteguide.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ko/misc/rewriteguide.html" title="Korean"> ko </a></p> </div> <div class="outofdate">이 문서는 최신판 번역이 아닙니다. 최근에 변경된 내용은 영어 문서를 참고하세요.</div> <div class="note"> <p>원저자<br /> Loading docs/manual/misc/rewriteguide.xml.ko +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 Loading docs/manual/misc/rewriteguide.xml.meta +1 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,6 @@ <variants> <variant>en</variant> <variant>ko</variant> <variant outdated="yes">ko</variant> </variants> </metafile> docs/manual/mod/core.xml.de +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 Loading
docs/manual/misc/rewriteguide.html.en +10 −9 Original line number Diff line number Diff line Loading @@ -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> Loading
docs/manual/misc/rewriteguide.html.ko.euc-kr +2 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,8 @@ <p><span>가능한 언어: </span><a href="../en/misc/rewriteguide.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ko/misc/rewriteguide.html" title="Korean"> ko </a></p> </div> <div class="outofdate">이 문서는 최신판 번역이 아닙니다. 최근에 변경된 내용은 영어 문서를 참고하세요.</div> <div class="note"> <p>원저자<br /> Loading
docs/manual/misc/rewriteguide.xml.ko +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 Loading
docs/manual/misc/rewriteguide.xml.meta +1 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,6 @@ <variants> <variant>en</variant> <variant>ko</variant> <variant outdated="yes">ko</variant> </variants> </metafile>
docs/manual/mod/core.xml.de +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