> We've got a bunch of legacy code that uses $ENV{SCRIPT_URI},
> $ENV{SERVER_PORT}, $r->server->port and the like to generate
external
> redirects.
>
If these are really external redirects, they must happen through a
"Location:" response header, no ?
In that case, what about leaving your code a
Jonathan Swartz wrote:
We've got a bunch of legacy code that uses $ENV{SCRIPT_URI},
$ENV{SERVER_PORT}, $r->server->port and the like to generate external
redirects.
If these are really external redirects, they must happen through a
"Location:" response header, no ?
In that case, what about le
We've got a bunch of legacy code that uses $ENV{SCRIPT_URI},
$ENV{SERVER_PORT}, $r->server->port and the like to generate external
redirects.
This has worked fine til now, but now we are moving to a system where
our external port != our internal port - the load balancer is going to
forwar
Hi, I'm trying to use Apache2::HookRun according to the example provided in
http://perl.apache.org/docs/2.0/api/Apache2/HookRun.html
Two problems so far:
1. Apache2::RequestRec doesn't appear to provide a new() method, so the
example fails.
2. A subsequent "$r->location_merge($path);" se