perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kee Hinckley <naz...@somewhere.com>
Subject Re: redirect question
Date Thu, 10 Oct 2002 15:16:32 GMT
At 6:44 AM +0200 10/10/02, Gerald Richter wrote:
>As Kee already wrote:
>
>>   $http_headers_out{`Location`} = 'http://$ENV{HTTP_HOST}/ta/login.epl';
>>   exit 301;
>
>   $http_headers_out{'Location'} = "http://$ENV{HTTP_HOST}/ta/login.epl";
>   exit 301;

Also, if you are trying to be fully portable, you should check the 
PORT too, and see whether you are on a secure connection, since those 
will impact the http and whether you need to include a port number.
-- 

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message