Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

jump.cgi doesnt redirect

Quote Reply
jump.cgi doesnt redirect
First I'm new to CGI/Perl. I just installed on Win2000 and worked out other bugs, but I cant get jump.cgi to redirect, it just displays Location = http://www.thelink.com in the browser window. Is there something I need to do for windows to work? I have $db_iis=1 in the links.cfg and that fixed one problem, but I can't fix this one.

Do I have to modify this?:

# Now let's send the user to the url..
$goto ?
print "Location: $goto\n\n" :
&error ("Record not found ($in{$db_key})");
}


PLease Help!!!!!!!

Quote Reply
Re: jump.cgi doesnt redirect In reply to
Make sure that you have removed all HEADER references before that set of codes. If you have set CONTENT/TYPE TEXT/HTML before those lines, then the codes will simply PRINT rather than execute.

Regards,

Eliot Lee
Quote Reply
Re: jump.cgi doesnt redirect In reply to
I figured it was something like that, but I just couldn't find it. That's why I figured it might have something to do with IIS. Thanks, I'll keep looking, it will probably smack me in the face now. I wish somebody would.

Quote Reply
Re: jump.cgi doesnt redirect In reply to
Do you have

$db_iis = 1;

?

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: jump.cgi doesnt redirect In reply to
Yeah, if I didn't do that, it wouldnt work at all. Thanks

Quote Reply
Re: jump.cgi doesnt redirect In reply to
....and have you tried uploading a fresh jump.cgi?

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: jump.cgi doesnt redirect In reply to
I have it rigged temporarily with javascript,

# Now let's send the user to the url..
$goto ?
print "<script>location.href=\"$goto\"</script>\n\n":
&error ("Record not found ($in{$db_key})");
}

but then it doesn't increase the hit count (naturally, as far as it knows it didnt redirect)
I dont know if that helps.

Quote Reply
Re: jump.cgi doesnt redirect In reply to
If you have the way to solve your problem, can you share that with me because I also face the same problem.

Thanks....