[ic] is-secure tag

Kevin Walsh interchange-users@icdevgroup.org
Wed Oct 30 01:49:01 2002


Grant [listbox@email.com] wrote:
> > >
> > > I have mine set up just like the example, but it always returns 0 (not
> > > secure) even on HTTPS pages.  I restarted IC after adding the tag to
> > > ic/usertag.  Any suggestions?
> > >
> > I noticed too that querying CGI::secure fails sometimes. I now use:
> >
> > if ($Tag->env('HTTPS') =~ /\S/) {
> >     $Scratch->{secure} = 1;
> > } else {
> >     $Scratch->{secure} = 0;
> > }
> >
> > The env usertag is part of 4.9.x, but works with 4.8.x flawlessly.
> >
> Thanks for your help.  Unfortunately, it seems [scratch secure] equals 0 for
> both HTTP and HTTPS pages for me.  I can't figure out what's going wrong
> here....
> 
I can only suggest that you may have an Apache (or whatever) web server
setup problem.  Perhaps your pages are not as "secure" as you may think.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/