>> Ack!  That was pretty stupid of me.  It doesn't explain why
>>     SetEnvIf Request_URI "/cgi-bin/VENDOR" REMOTE_ADDR=1.2.3.4
>> didn't work, but I can take that to the Apache folks.
>
>It's because mod_cgi sets the environment variable just before it
>runs the program (and thus overriding whatever you set before).
>
>A fixup handler to set the fake ip address (as you figured out) and
>possibly a loghandler to set remote_ip to the right address again is
>the way to go.

Thanks.  Between the help I got on the list, and a quick reading of some of the Apache 
source (esp. mod_cgi), I had a working solution up and running 90 minutes (!) after 
first deciding to attack the problem from that angle.

...Steve 

-- 
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]

Reply via email to