[users@httpd] SERVER_ADDR does not exist

2014-02-18 Thread Adrian Lester
Please accept my apologies for popping up on the list with an immediate question, and even more so if it turns out that I am being stupid, but this one really does have me confused. I have read the manuals and searched and searched, but can't seem to find any reference to anyone else having the

Re: [users@httpd] SERVER_ADDR does not exist

2014-02-18 Thread Eric Covener
On Tue, Feb 18, 2014 at 5:55 AM, Adrian Lester a...@ajltech.co.uk wrote: Please accept my apologies for popping up on the list with an immediate question, and even more so if it turns out that I am being stupid, but this one really does have me confused. I have read the manuals and searched

Re: [users@httpd] SERVER_ADDR does not exist

2014-02-18 Thread Adrian Lester
Thanks for that Eric, the similarity of the expression parser's variables to the environment variables had caused me to see straight past the fact that they are two separate things - my bad. Unfortunately, I seem now to be banging my head against another brick wall... I have changed my syntax

Re: [users@httpd] SERVER_ADDR does not exist

2014-02-18 Thread Eric Covener
Kind of makes sense -- the CGI-related environment variables are set very late in processing -- so maybe reqenv() is not so useful for these because it runs relatively early. I think what you actually need is an enhancement to the expression parser to make SERVER_ADDR available. Can you open an