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

[ FIX ] Location: not going to URL in jump.cgi...

Quote Reply
[ FIX ] Location: not going to URL in jump.cgi...
I recently did an installation of Links 2, on an NT server. I had the problem where it was printing;

Location: http://www.site.com

There is quite a simple fix for this, so I thought I would post it.

In jump.cgi, below line 31~ add...

use CGI;
my $IN = new CGI;

And change....

print "Location: $goto\n\n";

....on the 11th to last line, to;

print $IN->redirect(-uri=>$goto, -nph=>1)

Hope that helps someone Smile


Andy (mod)
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!