View Single Post
Old 08-30-2004, 05:24 PM  
Dcat
Confirmed User
 
Dcat's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Mexico
Posts: 1,607
Perl / CGI Question ..

Can you help me out?

I'm replacing a Top Sites script on my server from ?Top Sites Pro? (Coded in Perl) to ?Auto Rank PHP? (Coded in PHP), and I need to know how to redirect all existing incoming links to the new script.


The old (incoming) links look like:

http://www.site.com/cgi-bin/topsites.cgi?accountx


New site links need to look like:

http://www.site.com/in.php?id=accountx


I need to know what code to put into the "topsites.cgi" file to make the old accounts redirect to the new link.

How would I do this?
Dcat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote