>> 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 what
On Fri, 23 Jun 2000, Steve van der Burg wrote:
> 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
> -Original Message-
> From: Dan Rench [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 23, 2000 12:33 PM
> To: Steve van der Burg
> Cc: [EMAIL PROTECTED]
> Subject: Re: Simple program _setting_ REMOTE_ADDR - SOLUTION
>
>
> On Fri, 23 Jun 2000, Steve van de
>> In httpd.conf:
>>
>>
>> PerlAccessHandler LHSC::FakeRemoteIP
>>
>
>Why an Access handler? I realize it works, but a more appropriate
>phase would be PerlFixupHandler, since you aren't doing any access
>control in your module. A couple other nitpicky points: you probably
>should return 'DEC
On Fri, 23 Jun 2000, Steve van der Burg wrote:
> Taking your remote_ip hint, and reading the Eagle a bit more closely,
> I came up with this:
>
> In httpd.conf:
>
>
> PerlAccessHandler LHSC::FakeRemoteIP
>
Why an Access handler? I realize it works, but a more appropriate
phase would be Perl
>Like that but work-around earlier today for Apache::Request to work
>around a MIME formatting but in IE on the Mac. Lame.
Taking your remote_ip hint, and reading the Eagle a bit more closely, I came up with
this:
In httpd.conf:
PerlAccessHandler LHSC::FakeRemoteIP
Here's the handler:
#!/
> "SvdB" == Steve van der Burg <[EMAIL PROTECTED]> writes:
SvdB> I agree. How a major vendor with lots of staff and billions of
SvdB> dollars can get the basics wrong, I don't know.
Ever used a MS product? ;-)
Like that but work-around earlier today for Apache::Request to work
around a MIM
>> Vivek Khera <[EMAIL PROTECTED]> wrote:
> "SvdB" == Steve van der Burg <[EMAIL PROTECTED]> wrote:
>SvdB> That is, I'd like to set REMOTE_ADDR like so:
>SvdB>
>SvdB> # Feed vendor's crappy CGI code a fake address that won't change:
>SvdB> PerlSetEnv REMOTE_ADDR 1.2.3.4
>SvdB>
>
>But is
> "SvdB" == Steve van der Burg <[EMAIL PROTECTED]> writes:
SvdB> That is, I'd like to set REMOTE_ADDR like so:
SvdB>
SvdB> # Feed vendor's crappy CGI code a fake address that won't change:
SvdB> PerlSetEnv REMOTE_ADDR 1.2.3.4
SvdB>
But is /cgi-bin running under Perl?
I think what you hav
In order to get a certain buggy, poorly-designed application from a well-known vendor
to maintain its sessions in the face of the user's IP address changing (vendor doesn't
understand that addresses may change between requests), I'd like to have Apache lie to
the vendor's canned CGI app about i
10 matches
Mail list logo