[ic] is-secure tag
Kevin Walsh
interchange-users@icdevgroup.org
Mon Oct 28 18:55:00 2002
Grant [listbox@email.com] wrote:
>
> I'm having trouble getting Kevin's is-secure tag to work properly. Here's a
> link to it:
>
> http://www.interchange.rtfm.info/downloads/usertags/is_secure.usertag
>
> 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?
>
Which HTTP server are you using? I've only ever used that UserTag
with Apache 1.3.x. I assumed it would work with other servers.
Try creating this:
UserTag show_secure Routine <<EOR
sub {
$CGI::secure;
}
EOR
Put that UserTag on a secure and an ordinary page and see what's
returned in both cases and then change your is_secure tag to match.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/