1
0
mirror of https://github.com/apache/httpd.git synced 2025-05-28 13:41:30 +03:00

update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123749 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
André Malo 2004-12-30 23:38:39 +00:00
parent d2c60589c6
commit 3d156977d8
14 changed files with 28 additions and 19 deletions

View File

@ -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>

View File

@ -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 />

View File

@ -1,7 +1,7 @@
<?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

View File

@ -7,6 +7,6 @@
<variants>
<variant>en</variant>
<variant>ko</variant>
<variant outdated="yes">ko</variant>
</variants>
</metafile>

View File

@ -1,7 +1,7 @@
<?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

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
<!-- English Revision: 106851:122907 (outdated) -->
<!-- English Revision: 106851:123300 (outdated) -->
<!--
Copyright 2003-2004 The Apache Software Foundation

View File

@ -21,6 +21,8 @@
<p><span>가능한 언어: </span><a href="../en/platform/windows.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="../ko/platform/windows.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</div>
<div class="outofdate">이 문서는 최신판 번역이 아닙니다.
최근에 변경된 내용은 영어 문서를 참고하세요.</div>
<p>이 문서는 Microsoft Windows에서 아파치 2.0을 설치, 설정,

View File

@ -1,7 +1,7 @@
<?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: 105989 -->
<!-- English Revision: 105989:123300 (outdated) -->
<!--
Copyright 2004 The Apache Software Foundation

View File

@ -7,6 +7,6 @@
<variants>
<variant>en</variant>
<variant>ko</variant>
<variant outdated="yes">ko</variant>
</variants>
</metafile>

View File

@ -22,6 +22,8 @@
<a href="../ja/vhosts/examples.html" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="../ko/vhosts/examples.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
</div>
<div class="outofdate">This translation may be out of date. Check the
English version for recent changes.</div>
<p>この文書は、バーチャルホストの設定の際に

View File

@ -22,6 +22,8 @@
<a href="../ja/vhosts/examples.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="../ko/vhosts/examples.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</div>
<div class="outofdate">이 문서는 최신판 번역이 아닙니다.
최근에 변경된 내용은 영어 문서를 참고하세요.</div>
<p>이 문서는 자주 문의되는 가상호스트

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='iso-2022-jp' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
<!-- English Revision: 105989 -->
<!-- English Revision: 105989:123368 (outdated) -->
<!--
Copyright 2002-2004 The Apache Software Foundation

View File

@ -1,7 +1,7 @@
<?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: 105989 -->
<!-- English Revision: 105989:123368 (outdated) -->
<!--
Copyright 2003-2004 The Apache Software Foundation

View File

@ -7,7 +7,7 @@
<variants>
<variant>en</variant>
<variant>ja</variant>
<variant>ko</variant>
<variant outdated="yes">ja</variant>
<variant outdated="yes">ko</variant>
</variants>
</metafile>