Commit f240a94c authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1731336 13f79535-47bb-0310-9956-ffa450edef68
parent b3dbfb78
Loading
Loading
Loading
Loading
+30 −26
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@ Alias "/foo" "/gaq"</pre>
    <code>/foo</code> <code class="directive"><a href="#alias">Alias</a></code>
    would always match before the <code>/foo/bar</code> <code class="directive"><a href="#alias">Alias</a></code>, so the latter directive would be
    ignored.</p>

    <p>When the <code class="directive"><a href="#alias">Alias</a></code>,
    <code class="directive"><a href="#scriptalias">ScriptAlias</a></code> and 
    <code class="directive"><a href="#redirect">Redirect</a></code> directives are used
@@ -187,17 +188,19 @@ Alias "/foo" "/gaq"</pre>

    <p>Any number slashes in the <var>URL-path</var> parameter
    matches any number of slashes in the requested URL-path.</p>

    <p>If the <code class="directive">Alias</code> directive is used within a
    <code class="directive"><a href="../mod/core.html#location">&lt;Location&gt;</a></code>
    or <code class="directive"><a href="../mod/core.html#locationmatch">&lt;LocationMatch&gt;</a></code>
    section the URL-path is omitted, and the file-path is interpreted
    using <a href="../expr.html">expression syntax</a>.</p>
    using <a href="../expr.html">expression syntax</a>.<br />
    This syntax is available in Apache 2.4.19 and later.</p>

    <pre class="prettyprint lang-config">&lt;Location /image&gt;
    Alias /ftp/pub/image
    <pre class="prettyprint lang-config">&lt;Location "/image"&gt;
    Alias "/ftp/pub/image"
&lt;/Location&gt;
&lt;LocationMatch /error/(?&lt;NUMBER&gt;[0-9]+)&gt;
    Alias /usr/local/apache/errors/%{env:MATCH_NUMBER}.html
&lt;LocationMatch "/error/(?&lt;NUMBER&gt;[0-9]+)"&gt;
    Alias "/usr/local/apache/errors/%{env:MATCH_NUMBER}.html"
&lt;/LocationMatch&gt;</pre>


@@ -383,22 +386,23 @@ Redirect "/one" "/two"</pre>
    <pre class="prettyprint lang-config">Redirect permanent "/one" "http://example.com/two"
Redirect 303 "/three" "http://example.com/other"</pre>


    <p>If the <code class="directive">Redirect</code> directive is used within a
    <code class="directive"><a href="../mod/core.html#location">&lt;Location&gt;</a></code>
    or <code class="directive"><a href="../mod/core.html#locationmatch">&lt;LocationMatch&gt;</a></code>
    section with the URL-path omitted, then the URL parameter will be
    interpreted using <a href="../expr.html">expression syntax</a>.</p>
    interpreted using <a href="../expr.html">expression syntax</a>.<br />
    This syntax is available in Apache 2.4.19 and later.</p>

    <pre class="prettyprint lang-config">&lt;Location /one&gt;
    Redirect permanent http://example.com/two
&lt;/Location&gt;<br />
&lt;Location /three&gt;
    Redirect 303 http://example.com/other
&lt;/Location&gt;<br />
&lt;LocationMatch /error/(?&lt;NUMBER&gt;[0-9]+)&gt;
    Redirect permanent http://example.com/errors/%{env:MATCH_NUMBER}.html
&lt;/LocationMatch&gt;<br />
    </pre>
    <pre class="prettyprint lang-config">&lt;Location "/one"&gt;
    Redirect permanent "http://example.com/two"
&lt;/Location&gt;
&lt;Location "/three"&gt;
    Redirect 303 "http://example.com/other"
&lt;/Location&gt;
&lt;LocationMatch "/error/(?&lt;NUMBER&gt;[0-9]+)"&gt;
    Redirect permanent "http://example.com/errors/%{env:MATCH_NUMBER}.html"
&lt;/LocationMatch&gt;</pre>



@@ -437,7 +441,6 @@ of the current URL</td></tr>
    details.</p>



</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="RedirectPermanent" id="RedirectPermanent">RedirectPermanent</a> <a name="redirectpermanent" id="redirectpermanent">Directive</a></h2>
@@ -533,19 +536,20 @@ target as a CGI script</td></tr>
    <code class="directive">ScriptAlias</code> and revealing the source code
    of the CGI scripts if they are not restricted by a
    <code class="directive"><a href="../mod/core.html#directory">Directory</a></code> section.</div>

    <p>If the <code class="directive">ScriptAlias</code> directive is used within
    a <code class="directive"><a href="../mod/core.html#location">&lt;Location&gt;</a></code>
    or <code class="directive"><a href="../mod/core.html#locationmatch">&lt;LocationMatch&gt;</a></code>
    section with the URL-path omitted, then the URL parameter will be
    interpreted using <a href="../expr.html">expression syntax</a>.</p>
    interpreted using <a href="../expr.html">expression syntax</a>.<br />
    This syntax is available in Apache 2.4.19 and later.</p>

    <pre class="prettyprint lang-config">&lt;Location /cgi-bin &gt;
    ScriptAlias /web/cgi-bin/
    <pre class="prettyprint lang-config">&lt;Location "/cgi-bin"&gt;
    ScriptAlias "/web/cgi-bin/"
&lt;/Location&gt;
&lt;LocationMatch /cgi-bin/errors/(?&lt;NUMBER&gt;[0-9]+)&gt;
    ScriptAlias /web/cgi-bin/errors/%{env:MATCH_NUMBER}.cgi
&lt;/LocationMatch&gt;<br />
    </pre>
&lt;LocationMatch "/cgi-bin/errors/(?&lt;NUMBER&gt;[0-9]+)"&gt;
    ScriptAlias "/web/cgi-bin/errors/%{env:MATCH_NUMBER}.cgi"
&lt;/LocationMatch&gt;</pre>



+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.fr.xsl"?>
<!-- English Revision: 1689815:1731081 (outdated) -->
<!-- English Revision: 1689815:1731334 (outdated) -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->

+1 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
<!-- English Revision: 151408:1731081 (outdated) -->
<!-- English Revision: 151408:1731334 (outdated) -->

<!--
 Licensed to the Apache Software Foundation (ASF) under one or more
+1 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
<!-- English Revision: 151408:1731081 (outdated) -->
<!-- English Revision: 151408:1731334 (outdated) -->

<!--
 Licensed to the Apache Software Foundation (ASF) under one or more
+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.tr.xsl"?>
<!-- English Revision: 1689815:1731081 (outdated) -->
<!-- English Revision: 1689815:1731334 (outdated) -->
<!-- =====================================================
 Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
   Reviewed by: Orhan Berent <berent belgeler.gen.tr>