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

Backport r1762012 & r1762013

Remove some trailing spaces to synch with trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1762015 13f79535-47bb-0310-9956-ffa450edef68
parent 14260889
Loading
Loading
Loading
Loading
+11 −10
Original line number Diff line number Diff line
@@ -290,12 +290,12 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
    <tr><td><code>TIME_YEAR</code></td>
        <td>The current year (e.g. <code>2010</code>)</td></tr>
    <tr><td><code>TIME_MON</code></td>
        <td>The current month (<code>1</code>, ..., <code>12</code>)</td></tr>
        <td>The current month (<code>01</code>, ..., <code>12</code>)</td></tr>
    <tr><td><code>TIME_DAY</code></td>
        <td>The current day of the month</td></tr>
        <td>The current day of the month (<code>01</code>, ...)</td></tr>
    <tr><td><code>TIME_HOUR</code></td>
        <td>The hour part of the current time
            (<code>0</code>, ..., <code>23</code>)</td></tr>
            (<code>00</code>, ..., <code>23</code>)</td></tr>
    <tr><td><code>TIME_MIN</code></td>
        <td>The minute part of the current time </td></tr>
    <tr><td><code>TIME_SEC</code></td>
@@ -565,6 +565,7 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
    <title>Example expressions</title>
    <p>The following examples show how expressions might be used to
    evaluate requests:</p>

    <!-- This section should probably be extended with more, useful examples -->
    <highlight language="config">
# Compare the host name to example.com and redirect to www.example.com if it matches
@@ -614,7 +615,7 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
Header set foo-checksum "expr=%{md5:foo}"

# This delays the evaluation of the condition clause compared to &lt;If&gt;
Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#"
Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path\.php$#"

    </highlight>
</section>