View | Details | Raw Unified | Return to bug 59938
Collapse All | Expand All

(-)docs/manual/expr.xml (+2 lines)
Lines 230-235 Link Here
230
            "<code>GET /index.html HTTP/1.1</code>")</td></tr>
230
            "<code>GET /index.html HTTP/1.1</code>")</td></tr>
231
    <tr><td><code>REMOTE_ADDR</code></td>
231
    <tr><td><code>REMOTE_ADDR</code></td>
232
        <td>The IP address of the remote host</td></tr>
232
        <td>The IP address of the remote host</td></tr>
233
    <tr><td><code>REMOTE_PORT</code></td>
234
        <td>The port of the remote host</td></tr>
233
    <tr><td><code>REMOTE_HOST</code></td>
235
    <tr><td><code>REMOTE_HOST</code></td>
234
        <td>The host name of the remote host</td></tr>
236
        <td>The host name of the remote host</td></tr>
235
    <tr><td><code>REMOTE_USER</code></td>
237
    <tr><td><code>REMOTE_USER</code></td>
(-)server/util_expr_eval.c (+3 lines)
Lines 1456-1461 Link Here
1456
    "SERVER_PROTOCOL_VERSION",  /* 29 */
1456
    "SERVER_PROTOCOL_VERSION",  /* 29 */
1457
    "SERVER_PROTOCOL_VERSION_MAJOR",  /* 30 */
1457
    "SERVER_PROTOCOL_VERSION_MAJOR",  /* 30 */
1458
    "SERVER_PROTOCOL_VERSION_MINOR",  /* 31 */
1458
    "SERVER_PROTOCOL_VERSION_MINOR",  /* 31 */
1459
    "REMOTE_PORT",                    /* 32 */
1459
    NULL
1460
    NULL
1460
};
1461
};
1461
1462
Lines 1562-1567 Link Here
1562
        case 9:     return "9";
1563
        case 9:     return "9";
1563
        }
1564
        }
1564
        return apr_psprintf(ctx->p, "%d", HTTP_VERSION_MINOR(r->proto_num));
1565
        return apr_psprintf(ctx->p, "%d", HTTP_VERSION_MINOR(r->proto_num));
1566
    case 32:
1567
        return apr_psprintf(ctx->p, "%u", ctx->c->client_addr->port);
1565
    default:
1568
    default:
1566
        ap_assert(0);
1569
        ap_assert(0);
1567
        return NULL;
1570
        return NULL;

Return to bug 59938