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

site link not working

Quote Reply
site link not working
I cannot acces the site where the link is there. For instance, in my page had amazon.com link, but when I click the link the next page is not amazon.com site but the blank page with message:- Location: http://www.amazon.com

For your information, before click if I put the mouse on the link name I saw the url string at the footer of my browser as http://www.myHost.com/cgi-bin/jump.cgi?ID=4 instead of the http://www.amazon.com

Can someone tell me what is wrong actually.

Thanks in advance


Quote Reply
Re: site link not working In reply to
Please check in your file jump.cgi and make sure that the line from 124 -> 128 is like that:
# Now let's send the user to the url..
$goto ?
print "Location: $goto\n\n" :
&error ("Record not found ($in{$db_key})");

The jump.cgi script only get the ID of the link, not the value of the link.

Hope this help

Mark

Quote Reply
Re: site link not working In reply to
I checked the jump.cgi and its definitely the same as you showed. There maybe wrong somewhere. Anyway thanks for your help.

Quote Reply
Re: site link not working In reply to
Can you put here the jump.cgi here.

Mark

Quote Reply
Re: site link not working In reply to
The url you are seeing is correct (jump.cgi).

It looks like headers are being printed which is wrong.

If you don't want to use jump.cgi alter the a href tag in link.html to use <%URL%> instead of jump.cgi

Mods:http://wiredon.net/gt/download.shtml
Installs:http://wiredon.net/gt/


Quote Reply
Thanks... In reply to
...I think the easiest way is using <%URL%> at the href in link.html. Thank you very much for all of you guys for helping me to solve this problem.

kindly regards,
jeiman