You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Tofu Optimist <to...@yahoo.com> on 2003/10/17 05:10:41 UTC
"You have requested an encrypted page that contains some unencrypted information..."
Hi --
Not sure if this a mod_perl problem or not, but I seek
any advice to how I might be able to avoid to solve it
using mod_perl.
On my site http://www.aaa.com I have a link to
https://www.bbb.com/redirect.
/redirect is handled by Redirect.pm, a mod_perl 2
module which sets a cookie and redirects.
The redirect goes over to http://www.ccc.com.
Note aaa is regular http, bbb is secure https, and ccc
is regular http.
The redirect is pretty simple
my $cookie_out = CGI::Cookie->new(
-name => $hitid,
-value => $cell,
-domain => 'www.bbb.com',
-path => '/',
-secure => $ENV{HTTPS},
-expires => '+1d',
);
$r->err_headers_out->add('Set-Cookie' =>
$cookie_out);
$r->headers_out->set(Location => $url);
return &Apache::REDIRECT;
In Netscape, when I click on the link from aaa to bbb,
the brower tosses up a popup window warning "You have
requested an encrypted page that contains some
unencrypted information..."
What does this warning mean? The bbb page is
contentless, just a redirect -- what could be insecure
on it? Is there some mod_perl magic that would avoid
this warning?
Thanks
TO
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com