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
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
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
"SvdB" == Steve van der Burg [EMAIL PROTECTED] writes:
SvdB That is, I'd like to set REMOTE_ADDR like so:
SvdB Location /cgi-bin/VENDOR
SvdB # Feed vendor's crappy CGI code a fake address that won't change:
SvdB PerlSetEnv REMOTE_ADDR 1.2.3.4
SvdB /Location
But is /cgi-bin running under Perl?
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 Location /cgi-bin/VENDOR
SvdB # Feed vendor's crappy CGI code a fake address that won't change:
SvdB PerlSetEnv REMOTE_ADDR 1.2.3.4
SvdB /Location
"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 MIME
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:
Location /cgi-bin/VENDOR
PerlAccessHandler LHSC::FakeRemoteIP
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:
Location /cgi-bin/VENDOR
PerlAccessHandler LHSC::FakeRemoteIP
/Location
Why an Access handler? I realize it works, but a more
In httpd.conf:
Location /cgi-bin/VENDOR
PerlAccessHandler LHSC::FakeRemoteIP
/Location
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
-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 der Burg wrote:
Taking your
10 matches
Mail list logo