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;

Quote:
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...


Code:
use CGI;
my $IN = new CGI;


And change....

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

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

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

Hope that helps someone Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates