Bug 68429 - SERVER_ADDR missing from expressions
Summary: SERVER_ADDR missing from expressions
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.5-HEAD
Hardware: PC
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-30 05:05 UTC by msaladna
Modified: 2023-12-30 05:05 UTC (History)
0 users



Attachments
SERVER_ADDR patch (643 bytes, patch)
2023-12-30 05:05 UTC, msaladna
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description msaladna 2023-12-30 05:05:20 UTC
Created attachment 39496 [details]
SERVER_ADDR patch

SERVER_NAME, SERVER_PORT, and SERVER_ADMIN are supported in expression usage. The following patch adds SERVER_ADDR as well. My use case is to check if REMOTE_ADDR matches SERVER_ADDR, in which case it's a local lookup to set an env flag.